diff options
| author | Brendan Jackman <[email protected]> | 2023-11-08 16:49:20 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-12-10 16:51:39 -0800 |
| commit | 17b46e7beb8fe4e4807f70aaa615cf50a5ba9d3a (patch) | |
| tree | 33c63ab7985c7d6c0a329165d54adc11894b6899 /tools/perf/scripts/python/flamegraph.py | |
| parent | 2033c98cce666b0d125ae956613ab5111bb8d202 (diff) | |
mm/page_alloc: dedupe some memcg uncharging logic
The duplication makes it seem like some work is required before uncharging
in the !PageHWPoison case. But it isn't, so we can simplify the code a
little.
Note the PageMemcgKmem check is redundant, but I've left it in as it
avoids an unnecessary function call.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Brendan Jackman <[email protected]>
Reviewed-by: Yosry Ahmed <[email protected]>
Cc: Johannes Weiner <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Muchun Song <[email protected]>
Cc: Roman Gushchin <[email protected]>
Cc: Shakeel Butt <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions