]> git.baikalelectronics.ru Git - kernel.git/commit
mm: workingset: use cheaper __inc_lruvec_state in irqsafe node reclaim
authorJohannes Weiner <hannes@cmpxchg.org>
Fri, 26 Oct 2018 22:06:35 +0000 (15:06 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 26 Oct 2018 23:26:32 +0000 (16:26 -0700)
commitd2b6ca9d62d28a4dcea7d2fbd8e3dc1ff8e6f715
tree27fb9f4a72f799cc83e1bb81986173aa5c5984a6
parent44083edf138ee7ebcedc8ffe258d24d6379c6f77
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>
mm/workingset.c