aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorWaiman Long <[email protected]>2015-07-12 01:19:19 +0000
committerIngo Molnar <[email protected]>2015-07-21 08:18:07 +0000
commitcba77f03f2c7b6cc0b0a44a3c679e0abade7da62 (patch)
treedaba72ef7775e93627688ce9dd086a6e421c1feb /tools/perf/scripts/python/netdev-times.py
parentMerge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s39... (diff)
downloadkernel-cba77f03f2c7b6cc0b0a44a3c679e0abade7da62.tar.gz
kernel-cba77f03f2c7b6cc0b0a44a3c679e0abade7da62.zip
locking/pvqspinlock: Fix kernel panic in locking-selftest
Enabling locking-selftest in a VM guest may cause the following kernel panic: kernel BUG at .../kernel/locking/qspinlock_paravirt.h:137! This is due to the fact that the pvqspinlock unlock function is expecting either a _Q_LOCKED_VAL or _Q_SLOW_VAL in the lock byte. This patch prevents that bug report by ignoring it when debug_locks_silent is set. Otherwise, a warning will be printed if it contains an unexpected value. With this patch applied, the kernel locking-selftest completed without any noise. Tested-by: Masami Hiramatsu <[email protected]> Signed-off-by: Waiman Long <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions