diff options
| author | Chengming Zhou <[email protected]> | 2024-06-27 15:59:58 +0800 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-07-12 15:52:12 -0700 |
| commit | 538148f9ba9e3136a877881e72ccbe56733daae2 (patch) | |
| tree | fd398e57ddaae3be87c64393b83b7ca136733c9c /tools/perf/scripts/python | |
| parent | 81510a0eaa6916c2fbb0b2639f3e617a296979a3 (diff) | |
mm/zsmalloc: clarify class per-fullness zspage counts
We always use insert_zspage() and remove_zspage() to update zspage's
fullness location, which will account correctly.
But this special async free path use "splice" instead of remove_zspage(),
so the per-fullness zspage count for ZS_INUSE_RATIO_0 won't decrease.
Clean things up by decreasing when iterate over the zspage free list.
This doesn't actually fix anything. ZS_INUSE_RATIO_0 is just a
"placeholder" which is never used anywhere.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Chengming Zhou <[email protected]>
Cc: Minchan Kim <[email protected]>
Cc: Sergey Senozhatsky <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions