[RFC v2 0/3] zsmalloc: make its pages can be migrated

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



According to the review for the prev version [1], I got that I should
not increase the size of struct page.
So I update it in new version.

And I also add check for CONFIG_MIGRATION to make function just work
when CONFIG_MIGRATION is open.

Hui Zhu (3):
migrate: new struct migration and add it to struct page
zsmalloc: mark its page "PageMigration"
zram: make create "__GFP_MOVABLE" pool

 drivers/block/zram/zram_drv.c |    6 
 include/linux/migrate.h       |   43 ++
 include/linux/mm_types.h      |    3 
 mm/compaction.c               |    8 
 mm/migrate.c                  |   17 -
 mm/vmscan.c                   |    2 
 mm/zsmalloc.c                 |  605 +++++++++++++++++++++++++++++++++++++++---
 7 files changed, 639 insertions(+), 45 deletions(-)

[1] http://comments.gmane.org/gmane.linux.kernel.mm/139724

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]