aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2024-11-11 16:48:18 +0100
committerMikulas Patocka <mpatocka@redhat.com>2024-11-11 17:04:18 +0100
commit42964e4b5e3ac95090bdd23ed7da2a941ccd902c (patch)
treef253e553f4bd2dfab74357248f7336b95f9b3c0a /scripts/generate_rust_analyzer.py
parentLinux 6.12-rc7 (diff)
downloadwireguard-linux-42964e4b5e3ac95090bdd23ed7da2a941ccd902c.tar.xz
wireguard-linux-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 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions