aboutsummaryrefslogtreecommitdiff
path: root/include/linux/debug_locks.h
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-11-04 17:10:26 +0100
committerMister Oyster <oysterized@gmail.com>2017-04-11 10:57:11 +0200
commit74fb65b9004541345df20e7b3c8cc3fc19564fdf (patch)
tree2aebcb444a147db58a0e3825c5fbfefe92d1ee09 /include/linux/debug_locks.h
parentc77b463cdc3ebb6b98b9f388baeb8ff8ed4ace4f (diff)
lib: crc32: conditionally resched when running testcases
Fengguang reports that when crc32 selftests are running on startup, on some e.g. 32bit systems, we can get a CPU stall like "INFO: rcu_sched self-detected stall on CPU { 0} (t=2101 jiffies g=4294967081 c=4294967080 q=41)". As this is not intended, add a cond_resched() at the end of a test case to fix it. Introduced by efba721f63 ("lib: crc32: add test cases for crc32{, c}_combine routines"). Reported-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Daniel Borkmann <dborkman@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/debug_locks.h')
0 files changed, 0 insertions, 0 deletions