lkml.org 
[lkml]   [2003]   [Mar]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    SubjectRe: [x86-64] Add missing tlb flush after change_page_attr
    Date
    Am Montag, 24. März 2003 17:41 schrieb davej@codemonkey.org.uk:
    > diff -urpN --exclude-from=/home/davej/.exclude
    bk-linus/arch/x86_64/kernel/pci-gart.c
    linux-2.5/arch/x86_64/kernel/pci-gart.c
    > --- bk-linus/arch/x86_64/kernel/pci-gart.c 2003-03-08 09:56:51.000000000
    +0000
    > +++ linux-2.5/arch/x86_64/kernel/pci-gart.c 2003-03-18 21:19:53.000000000
    +0000
    > @@ -419,6 +419,7 @@ static __init int init_k8_gatt(agp_kern_
    > panic("Cannot allocate GATT table");
    > memset(gatt, 0, gatt_size);
    > change_page_attr(virt_to_page(gatt), gatt_size/PAGE_SIZE,
    PAGE_KERNEL_NOCACHE);
    > + global_flush_tlb();
    > agp_gatt_table = gatt;
    >
    > for_all_nb(dev) {

    The global_flush_tlb() for the change_page_attr() is already present about 20
    lines below...
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 13:34    [W:0.022 / U:62.000 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site