Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit e6fb1fc1 authored by Artem Savkov's avatar Artem Savkov Committed by Paul E. McKenney
Browse files

rcuperf: Do not wake up shutdown wait queue if "shutdown" is false.



After finishing its tests rcuperf tries to wake up shutdown_wq even if
"shutdown" param is set to false, resulting in a wake_up() call on an
unitialized wait_queue_head_t which leads to "BUG: spinlock bad magic" and
"BUG: unable to handle kernel NULL pointer dereference".

Fix by checking "shutdown" param before waking up the queue.

Signed-off-by: default avatarArtem Savkov <artem.savkov@gmail.com>
parent dba6f1ba
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment