• Andrew Morton's avatar
    [PATCH] pgd_ctor update · ee3ddbbd
    Andrew Morton authored
    From wli
    
    A moment's reflection on the subject suggests to me it's worthwhile to
    generalize pgd_ctor support so it works (without #ifdefs!) on both PAE
    and non-PAE. This tiny tweak is actually more noticeably beneficial
    on non-PAE systems but only really because pgd_alloc() is more visible;
    the most likely reason it's less visible on PAE is "other overhead".
    It looks particularly nice since it removes more code than it adds.
    
    Touch tested on NUMA-Q (PAE). OFTC #kn testers testing the non-PAE case.
    ee3ddbbd
pgtable-3level.h 3.15 KB