The patch titled Subject: include/linux/vmstat.h: remove unused page state adjustment macro has been added to the -mm tree. Its filename is mm-remove-unused-page-state-adjustment-macro.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/mm-remove-unused-page-state-adjustment-macro.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/mm-remove-unused-page-state-adjustment-macro.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: Wei Yang <richard.weiyang@xxxxxxxxx> Subject: include/linux/vmstat.h: remove unused page state adjustment macro These four macro are not used anymore. Just remove them. Link: http://lkml.kernel.org/r/20181214063211.2290-1-richard.weiyang@xxxxxxxxx Signed-off-by: Wei Yang <richard.weiyang@xxxxxxxxx> Acked-by: Michal Hocko <mhocko@xxxxxxxx> Reviewed-by: David Hildenbrand <david@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- include/linux/vmstat.h | 5 ----- 1 file changed, 5 deletions(-) --- a/include/linux/vmstat.h~mm-remove-unused-page-state-adjustment-macro +++ a/include/linux/vmstat.h @@ -239,11 +239,6 @@ extern unsigned long node_page_state(str #define node_page_state(node, item) global_node_page_state(item) #endif /* CONFIG_NUMA */ -#define add_zone_page_state(__z, __i, __d) mod_zone_page_state(__z, __i, __d) -#define sub_zone_page_state(__z, __i, __d) mod_zone_page_state(__z, __i, -(__d)) -#define add_node_page_state(__p, __i, __d) mod_node_page_state(__p, __i, __d) -#define sub_node_page_state(__p, __i, __d) mod_node_page_state(__p, __i, -(__d)) - #ifdef CONFIG_SMP void __mod_zone_page_state(struct zone *, enum zone_stat_item item, long); void __inc_zone_page_state(struct page *, enum zone_stat_item); _ Patches currently in -mm which might be from richard.weiyang@xxxxxxxxx are mm-slub-remove-validation-on-cpu_slab-in-__flush_cpu_slab.patch mm-slub-page-is-always-non-null-for-node_match.patch mm-slub-record-final-state-of-slub-action-in-deactivate_slab.patch mm-slub-improve-performance-by-skipping-checked-node-in-get_any_partial.patch mm-remove-reset-of-pcp-counter-in-pageset_init.patch vmscan-return-node_reclaim_noscan-in-node_reclaim-when-config_numa-is-n.patch drivers-base-memoryc-remove-an-unnecessary-check-on-nr_mem_sections.patch mm-check-nr_initialised-with-pages_per_section-directly-in-defer_init.patch mm-sparse-drop-pgdat_resize_lock-in-sparse_add-remove_one_section.patch mm-sparse-drop-pgdat_resize_lock-in-sparse_add-remove_one_section-v4.patch mm-sparse-pass-nid-instead-of-pgdat-to-sparse_add_one_section.patch mm-hotplug-move-init_currently_empty_zone-under-zone_span_lock-protection.patch mm-show_mem-drop-pgdat_resize_lock-in-show_mem.patch mm-page_alloc-calculate-first_deferred_pfn-directly.patch memory_hotplug-remove-duplicate-declaration-of-offline_pages.patch mm-page_alloc-enable-pcpu_drain-with-zone-capability.patch mm-remove-unused-page-state-adjustment-macro.patch