ifpps-libs = $(shell pkg-config --libs ncurses 2> /dev/null \ || echo '-lncurses') \ $(shell pkg-config --libs tinfo 2> /dev/null ) ifpps-objs = xmalloc.o \ ioops.o \ str.o \ link.o \ sock.o \ dev.o \ sig.o \ screen.o \ ifpps.o ifpps-eflags = $(shell pkg-config --cflags ncurses 2> /dev/null) ifpps-confs = tation/ABI/testing/sysfs-class-devfreq?h=nds-private-remove' type='application/atom+xml'/>
summaryrefslogtreecommitdiff
path: root/Documentation/ABI/testing/sysfs-class-devfreq
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/ABI/testing/sysfs-class-devfreq')
commit/mm/pagewalk.c?id=0b1fbfe50006c41014cc25660c0e735d21c34939'>0b1fbfe50006c41014cc25660c0e735d21c34939 (diff)
pagewalk: improve vma handling
Current implementation of page table walker has a fundamental problem in vma handling, which started when we tried to handle vma(VM_HUGETLB). Because it's done in pgd loop, considering vma boundary makes code complicated and bug-prone. From the users viewpoint, some user checks some vma-related condition to determine whether the user really does page walk over the vma. In order to solve these, this patch moves vma check outside pgd loop and introduce a new callback ->test_walk(). Signed-off-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com> Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Cc: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com> Cc: Andrea Arcangeli <aarcange@redhat.com> Cc: Cyrill Gorcunov <gorcunov@openvz.org> Cc: Dave Hansen <dave.hansen@intel.com> Cc: Pavel Emelyanov <xemul@parallels.com> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/pagewalk.c')