Skip to content
Snippets Groups Projects
  • Linus Torvalds's avatar
    2cc78eb5
    Increase default RCU batching sharply · 2cc78eb5
    Linus Torvalds authored
    
    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: default avatarLinus Torvalds <torvalds@osdl.org>
    2cc78eb5
    History
    Increase default RCU batching sharply
    Linus Torvalds authored
    
    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: default avatarLinus Torvalds <torvalds@osdl.org>