Re: [RFC 0/3] zsmalloc: make its pages movable

From: Sergey Senozhatsky
Date: Thu Oct 08 2015 - 03:02:58 EST


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 from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/