lkml.org 
[lkml]   [2012]   [Feb]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH RFC tip/core/rcu 14/41] rcu: Limit lazy-callback duration
On Wed, Feb 01, 2012 at 11:41:32AM -0800, Paul E. McKenney wrote:
> Currently, a given CPU is permitted to remain in dyntick-idle mode
> indefinitely if it has only lazy RCU callbacks queued. This is vulnerable
> to corner cases in NUMA systems, so limit the time to six seconds by
> default. (Currently controlled by a cpp macro.)

I wonder: should this scale with the number of callbacks, or do we not
want to make estimates about memory usage based on that?

Interestingly, with kfree_rcu, we actually know at callback queuing time
*exactly* how much memory we'll get back by calling the callback, and we
could sum up those numbers.

- Josh Triplett


\
 
 \ /
  Last update: 2012-02-02 03:07    [from the cache]
©2003-2011 Jasper Spaans