diff options
author | Naoya Horiguchi <n-horiguchi@ah.jp.nec.com> | 2015-02-12 00:28:11 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-02-12 02:06:06 +0100 |
commit | 1e25a271c8ac1c9faebf4eb3fa609189e4e7b1b6 (patch) | |
tree | bed90c6a138544e00ec6220737ba7516e6705240 /include/trace/events/kmem.h | |
parent | mm: /proc/pid/clear_refs: avoid split_huge_page() (diff) | |
download | linux-1e25a271c8ac1c9faebf4eb3fa609189e4e7b1b6.tar.xz linux-1e25a271c8ac1c9faebf4eb3fa609189e4e7b1b6.zip |
mincore: apply page table walker on do_mincore()
This patch makes do_mincore() use walk_page_vma(), which reduces many
lines of code by using common page table walk code.
[daeseok.youn@gmail.com: remove unneeded variable 'err']
Signed-off-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
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: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Cc: Pavel Emelyanov <xemul@parallels.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/trace/events/kmem.h')
0 files changed, 0 insertions, 0 deletions