]> Git Repo - linux.git/commit
mm/migrate.c: cleanup expected_page_refs()
authorJan Kara <[email protected]>
Tue, 5 Mar 2019 23:48:46 +0000 (15:48 -0800)
committerLinus Torvalds <[email protected]>
Wed, 6 Mar 2019 05:07:20 +0000 (21:07 -0800)
commitf900482da560941f978b0d36660e96f48ea78752
treef44b9360e6c97ca527aecd81b088537bf20a61af
parenta862f68a8b360086f248cbc3606029441b5f5197
mm/migrate.c: cleanup expected_page_refs()

Andrea has noted that page migration code propagates page_mapping(page)
through the whole migration stack down to migrate_page() function so it
seems stupid to then use page_mapping(page) in expected_page_refs()
instead of passed down 'mapping' argument.  I agree so let's make
expected_page_refs() more in line with the rest of the migration stack.

Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Jan Kara <[email protected]>
Suggested-by: Andrea Arcangeli <[email protected]>
Reviewed-by: Andrea Arcangeli <[email protected]>
Cc: Mel Gorman <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
mm/migrate.c
This page took 0.048607 seconds and 4 git commands to generate.