diff options
| author | Peter Xu <[email protected]> | 2023-03-03 10:12:18 -0500 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-03-28 16:20:11 -0700 |
| commit | 7cb1d7ef667716a9ff4e692e7ba1c3817d872222 (patch) | |
| tree | c7865b228dc37ccbe3fbdf421b4d695b13e4d3ef /tools/perf/scripts/python/stackcollapse.py | |
| parent | 9dabf6e1374519f89d9fc326a129b5cc35088479 (diff) | |
mm/khugepaged: cleanup memcg uncharge for failure path
Explicit memcg uncharging is not needed when the memcg accounting has the
same lifespan of the page/folio. That becomes the case for khugepaged
after Yang & Zach's recent rework so the hpage will be allocated for each
collapse rather than being cached.
Cleanup the explicit memcg uncharge in khugepaged failure path and leave
that for put_page().
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Peter Xu <[email protected]>
Suggested-by: Zach O'Keefe <[email protected]>
Reviewed-by: Zach O'Keefe <[email protected]>
Reviewed-by: Yang Shi <[email protected]>
Cc: David Stevens <[email protected]>
Cc: Johannes Weiner <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions