mm-migratec-migrate-pg_readahead-flag.patch removed from -mm tree
The patch titled
Subject: mm/migrate.c: migrate PG_readahead flag
has been removed from the -mm tree. Its filename was
mm-migratec-migrate-pg_readahead-flag.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Yang Shi <[email protected]>
Subject: mm/migrate.c: migrate PG_readahead flag
Currently the migration code doesn't migrate PG_readahead flag. Theoretically this would incur slight performance loss as the application might have to ramp its readahead back up again. Even though such problem happens, it might be hidden by something else since migration is typically triggered by compaction and NUMA balancing, any of which should be more noticeable.
Migrate the flag after end_page_writeback() since it may clear PG_reclaim flag, which is the same bit as PG_readahead, for the new page.
---
mm/migrate.c | 8 ++++++++ 1 file changed, 8 insertions(+)
mm/migrate.c renamed from mm/migrate.c~mm-migratec-migrate-pg_readahead-flag +8 -0
@@ -647,6 +647,14 @@ void migrate_page_states(struct page *neif (PageWriteback (newpage))end_page_writeback (newpage); +/* +* PG_readahead shares the same bit with PG_reclaim. The above +* end_page_writeback() may clear PG_readahead mistakenly, so set the +* bit after that. +*/ +if (PageReadahead (page)) +SetPageReadahead (newpage); +copy_page_owner (page, newpage);mem_cgroup_migrate (page, newpage);
_
Patches currently in -mm which might be from [email protected] are