The patch titled Subject: zram-drop-max_zpage_size-and-use-zs_huge_class_size-v3 has been added to the -mm tree. Its filename is zram-drop-max_zpage_size-and-use-zs_huge_class_size-v3.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/zram-drop-max_zpage_size-and-use-zs_huge_class_size-v3.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/zram-drop-max_zpage_size-and-use-zs_huge_class_size-v3.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Sergey Senozhatsky <sergey.senozhatsky.work@xxxxxxxxx> Subject: zram-drop-max_zpage_size-and-use-zs_huge_class_size-v3 add pool param to zs_huge_class_size() (Minchan) Link: http://lkml.kernel.org/r/20180314081833.1096-3-sergey.senozhatsky@xxxxxxxxx Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@xxxxxxxxx> Cc: Minchan Kim <minchan@xxxxxxxxxx> Cc: Mike Rapoport <rppt@xxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/block/zram/zram_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN drivers/block/zram/zram_drv.c~zram-drop-max_zpage_size-and-use-zs_huge_class_size-v3 drivers/block/zram/zram_drv.c --- a/drivers/block/zram/zram_drv.c~zram-drop-max_zpage_size-and-use-zs_huge_class_size-v3 +++ a/drivers/block/zram/zram_drv.c @@ -792,7 +792,7 @@ static bool zram_meta_alloc(struct zram } if (!huge_class_size) - huge_class_size = zs_huge_class_size(); + huge_class_size = zs_huge_class_size(zram->mem_pool); return true; } _ Patches currently in -mm which might be from sergey.senozhatsky.work@xxxxxxxxx are zsmalloc-introduce-zs_huge_class_size-function.patch zsmalloc-introduce-zs_huge_class_size-function-v3.patch zram-drop-max_zpage_size-and-use-zs_huge_class_size.patch zram-drop-max_zpage_size-and-use-zs_huge_class_size-v3.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html