The patch titled Subject: mm: remove reset of pcp->counter in pageset_init() has been added to the -mm tree. Its filename is mm-remove-reset-of-pcp-counter-in-pageset_init.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/mm-remove-reset-of-pcp-counter-in-pageset_init.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/mm-remove-reset-of-pcp-counter-in-pageset_init.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: mm: remove reset of pcp->counter in pageset_init() per_cpu_pageset is cleared by memset, it is not necessary to reset it again. Link: http://lkml.kernel.org/r/20181021023920.5501-1-richard.weiyang@xxxxxxxxx Signed-off-by: Wei Yang <richard.weiyang@xxxxxxxxx> Reviewed-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Cc: Michal Hocko <mhocko@xxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/page_alloc.c | 1 - 1 file changed, 1 deletion(-) --- a/mm/page_alloc.c~mm-remove-reset-of-pcp-counter-in-pageset_init +++ a/mm/page_alloc.c @@ -5850,7 +5850,6 @@ static void pageset_init(struct per_cpu_ memset(p, 0, sizeof(*p)); pcp = &p->pcp; - pcp->count = 0; for (migratetype = 0; migratetype < MIGRATE_PCPTYPES; migratetype++) INIT_LIST_HEAD(&pcp->lists[migratetype]); } _ 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-remove-reset-of-pcp-counter-in-pageset_init.patch