aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2022-07-13 07:09:04 -0400
committerMike Snitzer <snitzer@kernel.org>2022-07-14 15:52:31 -0400
commitca7dc242e358e46d963b32f9d9dd829785a9e957 (patch)
treee1af77a46c8c316dacefbcc2b9a713edd76de52c /tools/perf/scripts/python/syscall-counts.py
parent11093e6f0de9783c26355e0962f210a7ae18ab3c (diff)
dm writecache: set a default MAX_WRITEBACK_JOBS
dm-writecache has the capability to limit the number of writeback jobs in progress. However, this feature was off by default. As such there were some out-of-memory crashes observed when lowering the low watermark while the cache is full. This commit enables writeback limit by default. It is set to 256MiB or 1/16 of total system memory, whichever is smaller. Cc: stable@vger.kernel.org Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions