diff options
author | 2016-02-07 13:31:39 +0100 | |
---|---|---|
committer | 2016-03-31 13:39:51 -0700 | |
commit | e6fb1fc1085e5b5155bc8f3d3385c48b8bdde95e (patch) | |
tree | 2879f06cb02b7c9a466eeb3cde9b4e361bde044f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | rcutorture: Add largish-system rcuperf scenario (diff) | |
download | linux-dev-e6fb1fc1085e5b5155bc8f3d3385c48b8bdde95e.tar.xz linux-dev-e6fb1fc1085e5b5155bc8f3d3385c48b8bdde95e.zip |
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: Artem Savkov <artem.savkov@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions