[PATCH -mm v7 01/13] mm/pagewalk: remove pgd_entry() and pud_entry()

2014-11-06 Thread Naoya Horiguchi
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 Acked-by: Kirill A. Shutemov --- include/linux/mm.h | 6 -- mm/pagewalk.c

[PATCH -mm v7 01/13] mm/pagewalk: remove pgd_entry() and pud_entry()

2014-11-06 Thread Naoya Horiguchi
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 n-horigu...@ah.jp.nec.com Acked-by: Kirill A. Shutemov