summaryrefslogtreecommitdiff
path: root/kernel/rcu/update.c
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2015-05-14 15:42:40 -0700
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2015-07-15 14:47:15 -0700
commit4444d852a99b8f0310f369da8473ec3639e380a7 (patch)
treecdc5c247b4782a57c7c041d66e9e7fb9984157ad /kernel/rcu/update.c
parentd9eba768839ac24e47606af36e50c14f10c2211c (diff)
rcutorture: Check nfakewriters parameter
Currently, a negative value for rcutorture.nfakewriters= can cause rcutorture to pass a negative size to the memory allocator, which is not really a particularly good thing to do. This commit therefore adds bounds checking to this parameter, so that values that are less than or equal to zero disable fake writing. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'kernel/rcu/update.c')
0 files changed, 0 insertions, 0 deletions