diff options
author | Brice Goglin <Brice.Goglin@inria.fr> | 2008-10-18 20:27:16 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-20 08:52:33 -0700 |
commit | 2f007e74bb85b9fc4eab28524052161703300f1a (patch) | |
tree | 8fa77e687aa5fd807767484bdafcce86e46a56af /mm/quicklist.c | |
parent | e78bbfa8262424417a29349a8064a535053912b9 (diff) | |
download | linux-2f007e74bb85b9fc4eab28524052161703300f1a.tar.bz2 |
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/quicklist.c')
0 files changed, 0 insertions, 0 deletions