diff options
author | Paul E. McKenney <paulmck@linux.ibm.com> | 2019-04-10 17:01:39 -0700 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.ibm.com> | 2019-05-28 09:02:57 -0700 |
commit | d5a9a8c3bc8068f2e5dfba30150ac09b596b461a (patch) | |
tree | e74edf46dcdfa40c384726d59c4b97170aa1924b /Documentation/core-api/circular-buffers.rst | |
parent | 12edff045bc6dd3ab1565cc02fa4841803c2a633 (diff) | |
download | linux-d5a9a8c3bc8068f2e5dfba30150ac09b596b461a.tar.gz linux-d5a9a8c3bc8068f2e5dfba30150ac09b596b461a.tar.bz2 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/circular-buffers.rst')
0 files changed, 0 insertions, 0 deletions