summaryrefslogtreecommitdiff
path: root/kernel/rcu/Makefile
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2018-06-10 18:50:09 +0300
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2018-07-13 01:42:05 +0300
commitbf1bef50bee13b2292929f4b86118302a3827a32 (patch)
tree34175108e6275f368cf0845bf833078addb4da96 /kernel/rcu/Makefile
parent2397d072f76b552fc21cda19686d24a8066ced22 (diff)
downloadlinux-bf1bef50bee13b2292929f4b86118302a3827a32.tar.xz
rcutorture: Emphasize testing of single reader protection type
For RCU implementations supporting multiple types of reader protection, rcutorture currently randomly selects the combinations of types of protection for each phase of each reader. The problem with this, for example, given the four kinds of protection for RCU-sched (local_irq_disable(), local_bh_disable(), preempt_disable(), and rcu_read_lock_sched()), the reader will be protected by a single mechanism only 25% of the time. We really heavier testing of single read-side mechanisms. This commit therefore uses only a single mechanism about 60% of the time, half of the time explicitly and one-eighth of the time by chance. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'kernel/rcu/Makefile')
0 files changed, 0 insertions, 0 deletions