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
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
2 matches
Mail list logo