From: Christoph Lameter Date: Fri, 23 Jun 2006 09:03:33 +0000 (-0700) Subject: [PATCH] page migration cleanup: pass "mapping" to migration functions X-Git-Tag: v2.6.18-rc1~1081^2~180 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d1db3b1170db4e8bf0531dd636742269c2cf579;p=pandora-kernel.git [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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed