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
The kmod driver doesn't handle CPU hot plugging gracefully. Maybe it's not a common use case (that is, it doesn't really happen that often during a workload) but it did happen to me.
How to reproduce it
Happened once randomly while hot plugging a core, can be easily reproduced running the following commands in a loop
I believe this is a regression, this used to work with an older version of the kernel driver (draios/sysdig#744) and it's actually shockingly easier to reproduce:
stop falco service
rmmod falco for good measure
echo 0 > /sys/devices/system/cpu/cpu1/online
start falco
echo 1 > /sys/devices/system/cpu/cpu1/online
This behavior also contradicts what's written here:
/*
* If a cpu is offline when the consumer is first created, we
* will never get events for that cpu even if it later comes
* online via hotplug. We could allocate these rings on-demand
* later in this function if needed for hotplug, but that
* requires the consumer to know to call open again, and that is
* not supported.
*/
Describe the bug
The kmod driver doesn't handle CPU hot plugging gracefully. Maybe it's not a common use case (that is, it doesn't really happen that often during a workload) but it did happen to me.
How to reproduce it
Happened once randomly while hot plugging a core, can be easily reproduced running the following commands in a loop
Expected behaviour
Falco's kmod driver should handle CPU hot plugging gracefully.
Screenshots
No screenshot, but i'll do you one better, kernel oops (this is from my debug kernel, but it does happen on 5.15.0-67-generic as well):
kgdb
Environment
Additional context
The text was updated successfully, but these errors were encountered: