diff options
author | Nhat Pham <[email protected]> | 2022-11-28 11:16:15 -0800 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2022-12-11 18:12:10 -0800 |
commit | 9997bc017549acd6425e32300eff28424ffeeb6b (patch) | |
tree | 5f3176808ef2eccec0a63da09a40f4b4e956faf1 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | bd0fded29689a762e6a749a1258a59cc2b99a18a (diff) |
zsmalloc: implement writeback mechanism for zsmalloc
This commit adds the writeback mechanism for zsmalloc, analogous to the
zbud allocator. Zsmalloc will attempt to determine the coldest zspage
(i.e least recently used) in the pool, and attempt to write back all the
stored compressed objects via the pool's evict handler.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Nhat Pham <[email protected]>
Acked-by: Johannes Weiner <[email protected]>
Reviewed-by: Sergey Senozhatsky <[email protected]>
Cc: Dan Streetman <[email protected]>
Cc: Minchan Kim <[email protected]>
Cc: Nitin Gupta <[email protected]>
Cc: Seth Jennings <[email protected]>
Cc: Vitaly Wool <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions