You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unloading kernel modules causes the message kmemleak: 858 new suspected memory leaks (see /sys/kernel/debug/kmemleak)
I see this message on the kernel with KMEMLEAK enabled in the kernel config.
How to reproduce:
$ git clone https://github.com/Xilinx-CNS/onload
$ cd onload
$ ./scripts/onload_build --debug --kernel
$ cd build/x86_64_linux-6.1.31-1-debug-amd64/driver/linux
$ sudo ./load.sh
$ sudo ./unload.sh
$ sleep 15m
# from console: [ 2468.287909][ T4562] kmemleak: 858 new suspected memory leaks (see /sys/kernel/debug/kmemleak)
$ sudo cat /sys/kernel/debug/kmemleak > kmemleak-onload-ba03aac0.txt
I see it after the commit ba03aac "onload_mktest_net_driver: Replacing net driver with v5_3_14_1016" on:
I'm assuming those undecoded symbols in the backtraces are from within our drivers. Can you grab a copy of /proc/kallsyms while the driver is loaded so that we can decode the backtraces retroactively?
Unloading kernel modules causes the message
kmemleak: 858 new suspected memory leaks (see /sys/kernel/debug/kmemleak)
I see this message on the kernel with KMEMLEAK enabled in the kernel config.
How to reproduce:
I see it after the commit ba03aac "onload_mktest_net_driver: Replacing net driver with v5_3_14_1016" on:
I attached the output from the last command from the reproducer: kmemleak-onload-ba03aac0.txt
The text was updated successfully, but these errors were encountered: