diff options
author | Christoph Lameter <clameter@sgi.com> | 2006-06-23 05:03:33 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-23 10:42:50 -0400 |
commit | 2d1db3b1170db4e8bf0531dd636742269c2cf579 (patch) | |
tree | 1161ed614a55869c278234d7472673fd1a577887 /drivers/s390 | |
parent | c3fcf8a5daacf350f0632e1379414c01f34eeea3 (diff) |
[PATCH] page migration cleanup: pass "mapping" to migration functions
Change handling of address spaces.
Pass a pointer to the address space in which the page is migrated to all
migration function. This avoids repeatedly having to retrieve the address
space pointer from the page and checking it for validity. The old page
mapping will change once migration has gone to a certain step, so it is less
confusing to have the pointer always available.
Move the setting of the mapping and index for the new page into
migrate_pages().
Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/s390')
0 files changed, 0 insertions, 0 deletions