From: Andrea Arcangeli Date: Wed, 15 Jun 2011 22:08:08 +0000 (-0700) Subject: mm: remove khugepaged double thp vmstat update with CONFIG_NUMA=n X-Git-Tag: v3.0-rc4~90 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f300ea499721ca208fc4714b9105bfd7e9f75be0;p=pandora-kernel.git 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 Reported-by: Johannes Weiner Acked-by: Rik van Riel Reviewed-by: Minchan Kim Acked-by: Johannes Weiner Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed