]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
Increase default RCU batching sharply
authorLinus Torvalds <torvalds@g5.osdl.org>
Mon, 17 Oct 2005 16:10:15 +0000 (09:10 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 17 Oct 2005 16:10:15 +0000 (09:10 -0700)
commit2cc78eb52bc1ae89f0a4fa5a00eb998dffde4a9f
tree27422cfcf8f403e5aa25e98148c225dbedb027c5
parentde21eb63add932c61e018d20a760dcaed8c3e40c
Increase default RCU batching sharply

Dipankar made RCU limit the batch size to improve latency, but that
approach is unworkable: it can cause the RCU queues to grow without
bounds, since the batch limiter ended up limiting the callbacks.

So make the limit much higher, and start planning on instead limiting
the batch size by doing RCU callbacks more often if the queue looks like
it might be growing too long.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/rcupdate.c