summaryrefslogtreecommitdiffstats
path: root/mm/memory.c
diff options
context:
space:
mode:
authorAndrea Arcangeli2011-06-16 00:08:08 +0200
committerLinus Torvalds2011-06-16 05:03:58 +0200
commitf300ea499721ca208fc4714b9105bfd7e9f75be0 (patch)
treeafa4cb47cf030647491066b816df7f5fbf239bc6 /mm/memory.c
parentsignal.c: fix kernel-doc notation (diff)
downloadkernel-qcow2-linux-f300ea499721ca208fc4714b9105bfd7e9f75be0.tar.gz
kernel-qcow2-linux-f300ea499721ca208fc4714b9105bfd7e9f75be0.tar.xz
kernel-qcow2-linux-f300ea499721ca208fc4714b9105bfd7e9f75be0.zip
mm: remove khugepaged double thp vmstat update with CONFIG_NUMA=n
Johannes noticed the vmstat update is already taken care of by khugepaged_alloc_hugepage() internally. The only places that are required to update the vmstat are the callers of alloc_hugepage (callers of khugepaged_alloc_hugepage aren't). Signed-off-by: Andrea Arcangeli <aarcange@redhat.com> Reported-by: Johannes Weiner <jweiner@redhat.com> Acked-by: Rik van Riel <riel@redhat.com> Reviewed-by: Minchan Kim <minchan.kim@gmail.com> Acked-by: Johannes Weiner <jweiner@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/memory.c')
0 files changed, 0 insertions, 0 deletions