diff options
author | Shakeel Butt <[email protected]> | 2024-10-24 18:23:02 -0700 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2024-11-06 20:11:19 -0800 |
commit | cf4a65539c136d78d1b3b20e94caeecb616ea9d9 (patch) | |
tree | ffdbc35fadc68b8fce8f3c2226d9cd7856f1457a /tools/perf/scripts/python/check-perf-trace.py | |
parent | 568bcf4148493a3cf544f88df4e81e862b69f5e9 (diff) |
memcg-v1: no need for memcg locking for MGLRU
While updating the generation of the folios, MGLRU requires that the
folio's memcg association remains stable. With the charge migration
deprecated, there is no need for MGLRU to acquire locks to keep the folio
and memcg association stable.
[[email protected]: remove !rcu_read_lock_held() assertion]
Link: https://lkml.kernel.org/r/[email protected]
Link: https://syzkaller.appspot.com/bug?extid=24f45b8beab9788e467e
Link: https://lore.kernel.org/lkml/[email protected]/
[[email protected]: remove now-unused local]
[[email protected]: folio_rcu() fixup, per Yu Zhao]
Link: https://lkml.kernel.org/r/iwmabnye3nl4merealrawt3bdvfii2pwavwrddrqpraoveet7h@ezrsdhjwwej7
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Shakeel Butt <[email protected]>
Reviewed-by: Roman Gushchin <[email protected]>
Cc: Hugh Dickins <[email protected]>
Cc: Johannes Weiner <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Muchun Song <[email protected]>
Cc: Yosry Ahmed <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions