[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.00.0903112248360.26210@chino.kir.corp.google.com>
Date: Wed, 11 Mar 2009 22:51:12 -0700 (PDT)
From: David Rientjes <rientjes@...gle.com>
To: "Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>
cc: Christoph Lameter <cl@...ux-foundation.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Pekka Enberg <penberg@...helsinki.fi>,
Matt Mackall <mpm@...enic.com>,
Paul Menage <menage@...gle.com>,
Randy Dunlap <randy.dunlap@...cle.com>,
linux-kernel@...r.kernel.org
Subject: Re: [patch -mm] cpusets: add memory_slab_hardwall flag
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists