aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorPaul E. McKenney <[email protected]>2020-08-11 17:33:39 +0000
committerPaul E. McKenney <[email protected]>2020-08-25 01:45:36 +0000
commitd685514260e21aabd65a9aa8be045766bdaa0549 (patch)
tree376e37434d4e26cd06c879713f1d71e7bd10bb2e /net/unix/af_unix.c
parentrcutorture: Hoist OOM registry up one level (diff)
downloadkernel-d685514260e21aabd65a9aa8be045766bdaa0549.tar.gz
kernel-d685514260e21aabd65a9aa8be045766bdaa0549.zip
rcutorture: Allow pointer leaks to test diagnostic code
This commit adds an rcutorture.leakpointer module parameter that intentionally leaks an RCU-protected pointer out of the RCU read-side critical section and checks to see if the corresponding grace period has elapsed, emitting a WARN_ON_ONCE() if so. This module parameter can be used to test facilities like CONFIG_RCU_STRICT_GRACE_PERIOD that end grace periods quickly. While in the area, also document rcutorture.irqreader, which was previously left out. Reported-by Jann Horn <[email protected]> Signed-off-by: Paul E. McKenney <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions