The patch titled Subject: mm: workingset: use cheaper __inc_lruvec_state in irqsafe node reclaim has been added to the -mm tree. Its filename is mm-workingset-use-cheaper-__inc_lruvec_state-in-irqsafe-node-reclaim.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/mm-workingset-use-cheaper-__inc_lruvec_state-in-irqsafe-node-reclaim.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/mm-workingset-use-cheaper-__inc_lruvec_state-in-irqsafe-node-reclaim.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: Johannes Weiner <hannes@xxxxxxxxxxx> Subject: mm: workingset: use cheaper __inc_lruvec_state in irqsafe node reclaim No need to use the preemption-safe lruvec state function inside the reclaim region that has irqs disabled. Link: http://lkml.kernel.org/r/20181009184732.762-3-hannes@xxxxxxxxxxx Signed-off-by: Johannes Weiner <hannes@xxxxxxxxxxx> Reviewed-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Cc: Rik van Riel <riel@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/workingset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/mm/workingset.c~mm-workingset-use-cheaper-__inc_lruvec_state-in-irqsafe-node-reclaim +++ a/mm/workingset.c @@ -500,7 +500,7 @@ static enum lru_status shadow_lru_isolat } if (WARN_ON_ONCE(node->exceptional)) goto out_invalid; - inc_lruvec_page_state(virt_to_page(node), WORKINGSET_NODERECLAIM); + __inc_lruvec_page_state(virt_to_page(node), WORKINGSET_NODERECLAIM); __radix_tree_delete_node(&mapping->i_pages, node, workingset_lookup_update(mapping)); _ Patches currently in -mm which might be from hannes@xxxxxxxxxxx are mm-workingset-dont-drop-refault-information-prematurely-fix.patch mm-workingset-tell-cache-transitions-from-workingset-thrashing.patch delayacct-track-delays-from-thrashing-cache-pages.patch sched-loadavg-consolidate-load_int-load_frac-calc_load.patch sched-loadavg-consolidate-load_int-load_frac-calc_load-fix-fix.patch sched-loadavg-make-calc_load_n-public.patch sched-schedh-make-rq-locking-and-clock-functions-available-in-statsh.patch sched-introduce-this_rq_lock_irq.patch psi-pressure-stall-information-for-cpu-memory-and-io.patch psi-pressure-stall-information-for-cpu-memory-and-io-fix.patch psi-pressure-stall-information-for-cpu-memory-and-io-fix-2.patch psi-pressure-stall-information-for-cpu-memory-and-io-fix-3.patch psi-pressure-stall-information-for-cpu-memory-and-io-fix-4.patch psi-cgroup-support.patch mm-workingset-use-cheaper-__inc_lruvec_state-in-irqsafe-node-reclaim.patch