]> Git Repo - linux.git/commit - mm/migrate.c
mm: postpone migrated page mapping reset
authorKonstantin Khlebnikov <[email protected]>
Fri, 3 Feb 2012 23:37:13 +0000 (15:37 -0800)
committerLinus Torvalds <[email protected]>
Sat, 4 Feb 2012 00:16:40 +0000 (16:16 -0800)
commit35512ecaef03250fe50ad81430dd467f01d9a96b
tree66ba9202c36c4267f765b8980f2c70d7c3eb4b90
parenta1b58c237b73f10221b31e05b47a6565558207ef
mm: postpone migrated page mapping reset

Postpone resetting page->mapping until the final remove_migration_ptes().
Otherwise the expression PageAnon(migration_entry_to_page(entry)) does not
work.

Signed-off-by: Konstantin Khlebnikov <[email protected]>
Cc: Hugh Dickins <[email protected]>
Cc: KAMEZAWA Hiroyuki <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
mm/migrate.c
This page took 0.052835 seconds and 4 git commands to generate.