summaryrefslogtreecommitdiff
path: root/mm/sparse.c
diff options
context:
space:
mode:
authorBrice Goglin <Brice.Goglin@inria.fr>2008-10-19 07:27:16 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-10-20 19:52:33 +0400
commit2f007e74bb85b9fc4eab28524052161703300f1a (patch)
tree8fa77e687aa5fd807767484bdafcce86e46a56af /mm/sparse.c
parente78bbfa8262424417a29349a8064a535053912b9 (diff)
downloadlinux-2f007e74bb85b9fc4eab28524052161703300f1a.tar.xz
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 <Brice.Goglin@inria.fr> Acked-by: Christoph Lameter <cl@linux-foundation.org> Cc: Nick Piggin <nickpiggin@yahoo.com.au> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/sparse.c')
0 files changed, 0 insertions, 0 deletions