summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2024-11-11 18:48:18 +0300
committerMikulas Patocka <mpatocka@redhat.com>2024-11-11 19:04:18 +0300
commit42964e4b5e3ac95090bdd23ed7da2a941ccd902c (patch)
treef253e553f4bd2dfab74357248f7336b95f9b3c0a /tools/perf/scripts/python/exported-sql-viewer.py
parent2d5404caa8c7bb5c4e0435f94b28834ae5456623 (diff)
downloadlinux-42964e4b5e3ac95090bdd23ed7da2a941ccd902c.tar.xz
dm-bufio: fix warnings about duplicate slab caches
The commit 4c39529663b9 adds a warning about duplicate cache names if CONFIG_DEBUG_VM is selected. These warnings are triggered by the dm-bufio code. The dm-bufio code allocates a slab cache with each client. It is not possible to preallocate the caches in the module init function because the size of auxiliary per-buffer data is not known at this point. So, this commit changes dm-bufio so that it appends a unique atomic value to the cache name, to avoid the warnings. Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Fixes: 4c39529663b9 ("slab: Warn on duplicate cache names when DEBUG_VM=y")
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions