From: Paul E. McKenney Date: Tue, 19 Aug 2014 04:12:17 +0000 (-0700) Subject: rcutorture: Add callback-flood test X-Git-Tag: fixes-against-v3.18-rc2~103^2~1^2~16^4~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38706bc5a29a73645e512c06ffb759fb56259d83;p=pandora-kernel.git rcutorture: Add callback-flood test Although RCU is designed to handle arbitrary floods of callbacks, this capability is not routinely tested. This commit therefore adds a cbflood capability in which kthreads repeatedly registers large numbers of callbacks. One such kthread is created for each four CPUs (rounding up), and the test may be controlled by several cbflood_* kernel boot parameters, which control the number of bursts per flood, the number of callbacks per burst, the time between bursts, and the time between floods. The default values are large enough to exercise RCU's emergency responses to callback flooding. Signed-off-by: Paul E. McKenney Cc: David Miller Reviewed-by: Pranith Kumar --- Reading git-diff-tree failed