diff options
| author | Shakeel Butt <[email protected]> | 2024-08-09 10:26:18 -0700 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-09-01 20:26:05 -0700 |
| commit | 07222371912c835d12b3541791d0516f50c7b45b (patch) | |
| tree | 2ab6ff8611dde8eb72ffd9a8cf7d984c98a2b606 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 072cd213b75eb01fcf40eff898f8d5c008ce1457 (diff) | |
memcg: replace memcg ID idr with xarray
At the moment memcg IDs are managed through IDR which requires external
synchronization mechanisms and makes the allocation code a bit awkward.
Let's switch to xarray and make the code simpler.
[[email protected]: fix error path in mem_cgroup_alloc(), per Dan]
Link: https://lkml.kernel.org/r/[email protected]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Shakeel Butt <[email protected]>
Suggested-by: Matthew Wilcox <[email protected]>
Reviewed-by: Roman Gushchin <[email protected]>
Reviewed-by: Matthew Wilcox (Oracle) <[email protected]>
Acked-by: Johannes Weiner <[email protected]>
Reviewed-by: Muchun Song <[email protected]>
Acked-by: Michal Hocko <[email protected]>
Cc: Dan Carpenter <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions