Re: [patch -mm] cpusets: add memory_slab_hardwall flag

From: David Rientjes
Date: Thu Mar 12 2009 - 01:52:59 EST


On Wed, 11 Mar 2009, Paul E. McKenney wrote:

> Adding synchronize_rcu() into a fast path would certainly be a problem,
> but call_rcu() should be OK. If the data structure is updated often
> (old elements removed and new elements added), then the cache misses
> from elements that were removed, went cache-cold, and then were added
> again could potentially cause trouble, but read-mostly data structures
> should be OK.
>
> Or were you worried about some other aspect of RCU overhead?
>

Thanks for looking at this, Paul. My latest proposal actually replaces
the need for the rcu with a per-task flag called PF_SLAB_HARDWALL (see
http://marc.info/?l=linux-kernel&m=123665181400366).
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/