diff options
| author | Shakeel Butt <shakeel.butt@linux.dev> | 2025-04-03 18:39:07 -0700 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2025-05-11 17:48:10 -0700 |
| commit | 89f342af660332656bbade4cc8a919a40674ac41 (patch) | |
| tree | c6c28664a3618780737871b95c9b92191d003fbd /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 65d2d15f41c603dc8f11ff0d1bcda2dd847a65b5 (diff) | |
| download | linux-89f342af660332656bbade4cc8a919a40674ac41.tar.gz linux-89f342af660332656bbade4cc8a919a40674ac41.zip | |
memcg: introduce memcg_uncharge
At multiple places in memcontrol.c, the memory and memsw page counters are
being uncharged. This is error-prone. Let's move the functionality to a
newly introduced memcg_uncharge and call it from all those places.
Link: https://lkml.kernel.org/r/20250404013913.1663035-4-shakeel.butt@linux.dev
Signed-off-by: Shakeel Butt <shakeel.butt@linux.dev>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
Reviewed-by: Roman Gushchin <roman.gushchin@linux.dev>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Michal Hocko <mhocko@kernel.org>
Cc: Muchun Song <muchun.song@linux.dev>
Cc: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
