diff options
| author | 2024-11-11 16:48:18 +0100 | |
|---|---|---|
| committer | 2024-11-11 17:04:18 +0100 | |
| commit | 42964e4b5e3ac95090bdd23ed7da2a941ccd902c (patch) | |
| tree | f253e553f4bd2dfab74357248f7336b95f9b3c0a /tools/perf/scripts/python/gecko.py | |
| parent | Linux 6.12-rc7 (diff) | |
| download | linux-rng-42964e4b5e3ac95090bdd23ed7da2a941ccd902c.tar.xz linux-rng-42964e4b5e3ac95090bdd23ed7da2a941ccd902c.zip | |
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/gecko.py')
0 files changed, 0 insertions, 0 deletions
