summaryrefslogtreecommitdiffstats
path: root/Documentation/core-api
diff options
context:
space:
mode:
authorPaul E. McKenney2019-04-11 02:01:39 +0200
committerPaul E. McKenney2019-05-28 18:02:57 +0200
commitd5a9a8c3bc8068f2e5dfba30150ac09b596b461a (patch)
treee74edf46dcdfa40c384726d59c4b97170aa1924b /Documentation/core-api
parentrcu: Make kfree_rcu() ignore NULL pointers (diff)
downloadkernel-qcow2-linux-d5a9a8c3bc8068f2e5dfba30150ac09b596b461a.tar.gz
kernel-qcow2-linux-d5a9a8c3bc8068f2e5dfba30150ac09b596b461a.tar.xz
kernel-qcow2-linux-d5a9a8c3bc8068f2e5dfba30150ac09b596b461a.zip
rcu: Set a maximum limit for back-to-back callback invocation
Currently, if a CPU has more than 10,000 callbacks pending, it will increase rdp->blimit to LONG_MAX. If you are lucky, LONG_MAX is only about two billion, but this is still a bit too many callbacks to invoke back-to-back while otherwise ignoring the world. This commit therefore sets a maximum limit of DEFAULT_MAX_RCU_BLIMIT, which is set to 10,000, for rdp->blimit. Reported-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Paul E. McKenney <paulmck@linux.ibm.com>
Diffstat (limited to 'Documentation/core-api')
0 files changed, 0 insertions, 0 deletions