aboutsummaryrefslogtreecommitdiff
path: root/lib/zstd/zstd_decompress_module.c
diff options
context:
space:
mode:
authorStefan Roesch <[email protected]>2022-11-18 16:52:08 -0800
committerAndrew Morton <[email protected]>2022-11-30 15:59:05 -0800
commit9c84819bd64ec15cb15d041c45ebe4725e9d4f3b (patch)
tree11b40453094f17dcc2da3ec6608aae2e340c2929 /lib/zstd/zstd_decompress_module.c
parent803c98050569850be5fd51a2025c67622de887d9 (diff)
mm: add /sys/class/bdi/<bdi>/min_bytes knob
bdi has two existing knobs to limit the amount of dirty memory: min_ratio and max_ratio. However the granularity of the knobs is limited and often it is more convenient to specify limits in terms of bytes. This change adds the min_bytes knob. It does not store the min_bytes value, instead it converts the max_bytes value to a ratio. The value is therefore more an approximation than an absolute value. It also maintains the sum over all the bdi min_ratio values stored in the variable bdi_min_ratio. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Stefan Roesch <[email protected]> Cc: Chris Mason <[email protected]> Cc: Jens Axboe <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'lib/zstd/zstd_decompress_module.c')
0 files changed, 0 insertions, 0 deletions