Re: rcu: Avoid irq disable in rcu_cpu_kthread

From: Christoph Lameter
Date: Tue Dec 10 2013 - 10:24:58 EST


On Mon, 9 Dec 2013, Paul E. McKenney wrote:

> On Thu, Dec 05, 2013 at 09:06:55PM +0000, Christoph Lameter wrote:
> > Once we have the per cpu patchset merged we could do the following [it
> > even works without that patchset but the __this_cpu ops will not do
> > preemption checks]. Would this work?
>
> Looks plausible at first glance. But are you really seeing performance
> issues with this code? It is only compiled into the kernel when you build
> with CONFIG_RCU_BOOST=y -- are you actually using that for your workloads?

I have not done any benchmarking. Just looking for more use cases for the
this_cpu ops. There is a lot of use of per cpu operations in the rcu code
which seems to be areas in which these operations can help.

--
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/