aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/radix-tree/linux/xarray.h
diff options
context:
space:
mode:
authorMaciej S. Szmigiero <[email protected]>2022-03-22 14:47:43 -0700
committerLinus Torvalds <[email protected]>2022-03-22 15:57:11 -0700
commitcb325ddde5616219848ac0e100a781919a0ce55b (patch)
tree677bd45c77d094f0ff54efb3dd5cf5681856fce2 /tools/testing/radix-tree/linux/xarray.h
parentbd55b0c2d64e84a75575f548a33a3dfecc135b65 (diff)
mm/zswap.c: allow handling just same-value filled pages
Zswap has an ability to efficiently store same-value filled pages, which can be turned on and off using the "same_filled_pages_enabled" parameter. However, there is currently no way to enable just this (lightweight) functionality, while not making use of the whole compressed page storage machinery. Add a "non_same_filled_pages_enabled" parameter which allows disabling handling of pages that aren't same-value filled. This way zswap can be run in such lightweight same-value filled pages only mode. Link: https://lkml.kernel.org/r/7dbafa963e8bab43608189abbe2067f4b9287831.1641247624.git.maciej.szmigiero@oracle.com Signed-off-by: Maciej S. Szmigiero <[email protected]> Cc: Seth Jennings <[email protected]> Cc: Dan Streetman <[email protected]> Cc: Vitaly Wool <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/testing/radix-tree/linux/xarray.h')
0 files changed, 0 insertions, 0 deletions