The patch titled Subject: mm-add-nr_zsmalloc-to-vmstat-fix has been added to the -mm tree. Its filename is mm-add-nr_zsmalloc-to-vmstat-fix.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/mm-add-nr_zsmalloc-to-vmstat-fix.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/mm-add-nr_zsmalloc-to-vmstat-fix.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/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Subject: mm-add-nr_zsmalloc-to-vmstat-fix fix build with CONFIG_ZSMALLOC=m Cc: Chan Gyun Jeong <chan.jeong@xxxxxxx> Cc: Chanho Min <chanho.min@xxxxxxx> Cc: Minchan Kim <minchan@xxxxxxxxxx> Cc: Sangseok Lee <sangseok.lee@xxxxxxx> Cc: Sergey Senozhatsky <sergey.senozhatsky.work@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- include/linux/mmzone.h | 2 +- mm/vmstat.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff -puN include/linux/mmzone.h~mm-add-nr_zsmalloc-to-vmstat-fix include/linux/mmzone.h --- a/include/linux/mmzone.h~mm-add-nr_zsmalloc-to-vmstat-fix +++ a/include/linux/mmzone.h @@ -140,7 +140,7 @@ enum zone_stat_item { NR_DIRTIED, /* page dirtyings since bootup */ NR_WRITTEN, /* page writings since bootup */ NR_PAGES_SCANNED, /* pages scanned since last reclaim */ -#ifdef CONFIG_ZSMALLOC +#if IS_ENABLED(CONFIG_ZSMALLOC) NR_ZSMALLOC, #endif #ifdef CONFIG_NUMA diff -puN mm/vmstat.c~mm-add-nr_zsmalloc-to-vmstat-fix mm/vmstat.c --- a/mm/vmstat.c~mm-add-nr_zsmalloc-to-vmstat-fix +++ a/mm/vmstat.c @@ -718,7 +718,7 @@ const char * const vmstat_text[] = { "nr_dirtied", "nr_written", "nr_pages_scanned", -#ifdef CONFIG_ZSMALLOC +#if IS_ENABLED(CONFIG_ZSMALLOC) "nr_zsmalloc", #endif #ifdef CONFIG_NUMA _ Patches currently in -mm which might be from akpm@xxxxxxxxxxxxxxxxxxxx are i-need-old-gcc.patch arch-alpha-kernel-systblss-remove-debug-check.patch revert-mm-memcontrol-fix-possible-css-ref-leak-on-oom.patch arm-arch-arm-include-asm-pageh-needs-personalityh.patch mm.patch mm-frontswap-convert-frontswap_enabled-to-static-key-checkpatch-fixes.patch mm-add-nr_zsmalloc-to-vmstat-fix.patch mm-thp-avoid-unnecessary-swapin-in-khugepaged-fix.patch mm-thp-make-swapin-readahead-under-down_read-of-mmap_sem-fix-2-fix.patch nvme-dont-allocate-unused-nvme_major-fix.patch kexec-ensure-user-memory-sizes-do-not-wrap-fix.patch kexec-allow-architectures-to-override-boot-mapping-fix.patch drivers-net-wireless-intel-iwlwifi-dvm-calibc-fix-min-warning.patch kernel-forkc-export-kernel_thread-to-modules.patch slab-leaks3-default-y.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