summaryrefslogtreecommitdiff
path: root/mm/swap.c
diff options
context:
space:
mode:
authorJohannes Weiner <hannes@cmpxchg.org>2018-10-27 01:06:35 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2018-10-27 02:26:32 +0300
commit505802a53510e54ad5fbbd655a68893df83bfb91 (patch)
tree27fb9f4a72f799cc83e1bb81986173aa5c5984a6 /mm/swap.c
parent2ce7135adc9ad081aa3c49744144376ac74fea60 (diff)
downloadlinux-505802a53510e54ad5fbbd655a68893df83bfb91.tar.xz
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@cmpxchg.org Signed-off-by: Johannes Weiner <hannes@cmpxchg.org> Reviewed-by: Andrew Morton <akpm@linux-foundation.org> Reviewed-by: Rik van Riel <riel@surriel.com> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/swap.c')
0 files changed, 0 insertions, 0 deletions