On (10/08/15 14:35), Hui Zhu wrote: > > As the discussion in the list, the zsmalloc introduce some problems > around pages because its pages are unmovable. > > These patches introduced page move function to zsmalloc. And they also > add interface to struct page. > Hi, have you seen http://lkml.iu.edu/hypermail/linux/kernel/1507.0/03233.html http://lkml.iu.edu/hypermail/linux/kernel/1508.1/00696.html ? -ss > Hui Zhu (3): > page: add new flags "PG_movable" and add interfaces to control these pages > zsmalloc: mark its page "PG_movable" > zram: make create "__GFP_MOVABLE" pool > drivers/block/zram/zram_drv.c | 4 > include/linux/mm_types.h | 11 + > include/linux/page-flags.h | 3 > mm/compaction.c | 6 > mm/debug.c | 1 > mm/migrate.c | 17 + > mm/vmscan.c | 2 > mm/zsmalloc.c | 409 ++++++++++++++++++++++++++++++++++++++++-- > 8 files changed, 428 insertions(+), 25 deletions(-) > -- 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>