From: Brice Goglin Date: Sun, 19 Oct 2008 03:27:16 +0000 (-0700) Subject: mm: don't vmalloc a huge page_to_node array for do_pages_stat() X-Git-Tag: v2.6.28-rc1~205 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f007e74bb85b9fc4eab28524052161703300f1a;p=pandora-kernel.git mm: don't vmalloc a huge page_to_node array for do_pages_stat() do_pages_stat() does not need any page_to_node entry for real. Just pass the pointers to the user-space page address array and to the user-space status array, and have do_pages_stat() traverse the former and fill the latter directly. Signed-off-by: Brice Goglin Acked-by: Christoph Lameter Cc: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed