diff options
author | Brice Goglin <Brice.Goglin@inria.fr> | 2009-01-06 14:38:57 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-01-06 15:58:58 -0800 |
commit | 3140a2273009c01c27d316f35ab76a37e105fdd8 (patch) | |
tree | 25d4f805dbf72a9491bc146bb77418ef507d21bf /include/rxrpc/types.h | |
parent | 390722baa7fc447b0a4f0c3c3f537ed056dbc944 (diff) |
mm: rework do_pages_move() to work on page_sized chunks
Rework do_pages_move() to work by page-sized chunks of struct page_to_node
that are passed to do_move_page_to_node_array(). We now only have to
allocate a single page instead a possibly very large vmalloc area to store
all page_to_node entries.
As a result, new_page_node() will now have a very small lookup, hidding
much of the overall sys_move_pages() overhead.
Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
Signed-off-by: Nathalie Furmento <Nathalie.Furmento@labri.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 'include/rxrpc/types.h')
0 files changed, 0 insertions, 0 deletions