The patch titled Subject: mm/vmscan.c: don't disable irq again when count pgrefill for memcg has been added to the -mm tree. Its filename is mm-vmscan-dont-disable-irq-again-when-count-pgrefill-for-memcg.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/mm-vmscan-dont-disable-irq-again-when-count-pgrefill-for-memcg.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/mm-vmscan-dont-disable-irq-again-when-count-pgrefill-for-memcg.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: Yafang Shao <laoar.shao@xxxxxxxxx> Subject: mm/vmscan.c: don't disable irq again when count pgrefill for memcg We can use __count_memcg_events() directly because this callsite is alreay protected by spin_lock_irq(). Link: http://lkml.kernel.org/r/1556093494-30798-1-git-send-email-laoar.shao@xxxxxxxxx Signed-off-by: Yafang Shao <laoar.shao@xxxxxxxxx> Reviewed-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Cc: Michal Hocko <mhocko@xxxxxxxx> Cc: Johannes Weiner <hannes@xxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/vmscan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/mm/vmscan.c~mm-vmscan-dont-disable-irq-again-when-count-pgrefill-for-memcg +++ a/mm/vmscan.c @@ -2022,7 +2022,7 @@ static void shrink_active_list(unsigned reclaim_stat->recent_scanned[file] += nr_taken; __count_vm_events(PGREFILL, nr_scanned); - count_memcg_events(lruvec_memcg(lruvec), PGREFILL, nr_scanned); + __count_memcg_events(lruvec_memcg(lruvec), PGREFILL, nr_scanned); spin_unlock_irq(&pgdat->lru_lock); _ Patches currently in -mm which might be from laoar.shao@xxxxxxxxx are mm-vmscan-drop-zone-id-from-kswapd-tracepoints.patch mm-compaction-show-gfp-flag-names-in-try_to_compact_pages-tracepoint.patch mm-compaction-some-tracepoints-should-be-defined-only-when-config_compaction-is-set.patch mm-vmscan-add-tracepoints-for-node-reclaim.patch mm-vmscan-drop-may_writepage-and-classzone_idx-from-direct-reclaim-begin-template.patch mm-page_alloc-remove-unnecessary-parameter-in-rmqueue_pcplist.patch mm-vmscan-dont-disable-irq-again-when-count-pgrefill-for-memcg.patch