diff options
| author | Shakeel Butt <[email protected]> | 2025-05-14 18:41:53 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2025-05-22 21:55:38 +0000 |
| commit | c7163535cdaf7305aac14745483abb54684a43d5 (patch) | |
| tree | f3107c4c0d21e0cda0d8c976bacafea3b8b1f2e8 /rust/helpers/helpers.c | |
| parent | memcg: memcg_rstat_updated re-entrant safe against irqs (diff) | |
| download | kernel-c7163535cdaf7305aac14745483abb54684a43d5.tar.gz kernel-c7163535cdaf7305aac14745483abb54684a43d5.zip | |
memcg: move preempt disable to callers of memcg_rstat_updated
Let's move the explicit preempt disable code to the callers of
memcg_rstat_updated and also remove the memcg_stats_lock and related
functions which ensures the callers of stats update functions have
disabled preemption because now the stats update functions are explicitly
disabling preemption.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Shakeel Butt <[email protected]>
Acked-by: Vlastimil Babka <[email protected]>
Cc: Alexei Starovoitov <[email protected]>
Cc: Johannes Weiner <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Muchun Song <[email protected]>
Cc: Roman Gushchin <[email protected]>
Cc: Sebastian Andrzej Siewior <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions
