Files
linux/mm
T.J. Alumbaugh 451d7c42ea UPSTREAM: mm: multi-gen LRU: simplify lru_gen_look_around()
Update the folio generation in place with or without
current->reclaim_state->mm_walk.  The LRU lock is held for longer, if
mm_walk is NULL and the number of folios to update is more than
PAGEVEC_SIZE.

This causes a measurable regression from the LRU lock contention during a
microbencmark.  But a tiny regression is not worth the complexity.

Link: https://lkml.kernel.org/r/20230118001827.1040870-8-talumbau@google.com
Change-Id: I9ce18b4f4062e6c1c13c98ece9422478eb8e1846
Signed-off-by: T.J. Alumbaugh <talumbau@google.com>
Cc: Yu Zhao <yuzhao@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
(cherry picked from commit abf086721a)
Bug: 274865848
Signed-off-by: T.J. Mercier <tjmercier@google.com>
2023-04-12 16:02:15 +00:00
..
2023-02-22 12:32:41 +00:00
2023-03-30 12:49:25 +02:00
2023-01-04 11:28:59 +01:00
2021-05-05 11:27:24 -07:00
2023-02-01 09:12:59 +00:00
2022-09-26 19:46:26 -07:00
2022-10-03 14:02:53 -07:00
2022-09-26 19:46:16 -07:00
2023-02-09 13:29:55 +00:00
2023-04-12 16:02:15 +00:00
2022-06-16 19:48:30 -07:00
2023-02-22 12:32:41 +00:00
2022-09-26 19:46:09 -07:00
2022-10-03 14:02:43 -07:00
2022-09-26 19:46:09 -07:00
2023-01-24 07:24:33 +01:00
2023-03-31 08:15:39 +00:00
2023-03-23 18:20:34 +00:00
2021-05-07 00:26:35 -07:00
2023-04-12 16:02:15 +00:00
2023-03-31 08:15:39 +00:00
2022-10-03 14:02:45 -07:00
2022-10-03 14:02:51 -07:00
2023-03-23 18:20:34 +00:00
2022-10-03 14:02:45 -07:00
2023-03-23 18:20:34 +00:00
2022-01-15 16:30:31 +02:00