173fb50cb6 [ 15.588995] WARNING: suspicious RCU usage
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 36 lines · Joel Fernandes
Quoted 32 lines · kernel test robot
Greetings,
0day kernel testing robot got the below dmesg and the first bad commit is
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
commit
173fb50cb6e99b86f5c67a0220a8b1a75f5c1f67Author: Joel Fernandes (Google) <[email protected]> AuthorDate: Sun Jun 10 16:45:44 2018 -0700 Commit: Paul E. McKenney <[email protected]> CommitDate: Wed Jun 20 07:44:37 2018 -0700rcutorture: Make boost test more robust
Currently, withRCU_BOOSTdisabled, I get no failures when forcing rcutorture to test RCU boost priority inversion. The reason seems to be that we don't check for failures if the callback never ran at all for the duration of the boost-test loop.
Further, the 'rtb' and 'rtbf' counters seem to be used inconsistently. 'rtb' is incremented at the start of each test and 'rtbf' is incremented per-cpu on each failure ofcall_rcu. So its possible 'rtbf' > 'rtb'. To test the boost with rcutorture, I did following on a 4-CPU x86 machine:
modprobe rcutorture test_boost=2
sleep 20
rmmod rcutorture
With patch:
rtbf: 8 rtb: 12
Without patch:
rtbf: 0 rtb: 2
In summary this patch:
- Increments failed and total test counters once per boost-test.
- Checks for failure cases correctly.Quoted 2 lines
Signed-off-by Joel Fernandes (Google) <[email protected]>Signed-off-by Paul E. McKenney <[email protected]>
Quoted 6 lines
This -next tree seems to be missing this patch:
7e9736664adarcu: Assign higher prio to RCU threads if rcutorture is built-inPaul's rcu/next tree already has this patch. I think this reported issue will go away once Paul's rcu/next tree is pulled.
Which is updated again, so hopefully this should be taken care of. ;-)
Thanx, Paul