mm/pagewalk: remove pgd_entry() and pud_entry()
authorNaoya Horiguchi <[email protected]>
Wed, 11 Feb 2015 23:27:34 +0000 (15:27 -0800)
committerLinus Torvalds <[email protected]>
Thu, 12 Feb 2015 01:06:05 +0000 (17:06 -0800)
commit0b1fbfe50006c41014cc25660c0e735d21c34939
tree14c4d882894fdb12dbe7f0f34d01e595aa2b2fba
parent05fbf357d94152171bc50f8a369390f1f16efd89
mm/pagewalk: remove pgd_entry() and pud_entry()

Currently no user of page table walker sets ->pgd_entry() or
->pud_entry(), so checking their existence in each loop is just wasting
CPU cycle.  So let's remove it to reduce overhead.

Signed-off-by: Naoya Horiguchi <[email protected]>
Acked-by: Kirill A. Shutemov <[email protected]>
Cc: Andrea Arcangeli <[email protected]>
Cc: Cyrill Gorcunov <[email protected]>
Cc: Dave Hansen <[email protected]>
Cc: Kirill A. Shutemov <[email protected]>
Cc: Pavel Emelyanov <[email protected]>
Cc: Benjamin Herrenschmidt <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
include/linux/mm.h
mm/pagewalk.c