Re: dynticks: Remove atomic ops for dynticks_idle

From: Christoph Lameter
Date: Fri Sep 05 2014 - 13:07:08 EST


On Thu, 4 Sep 2014, Paul E. McKenney wrote:

> On Thu, Sep 04, 2014 at 10:18:31AM -0500, Christoph Lameter wrote:
> > This is on top of the first patch (but still not against your tree). I
> > wonder what you think about this one. No special operations.
> >
> >
> > Since dynticks_idle is only ever modified by the local cpu we do
> > not need to use atomics there.
> >
> > Signed-off-by: Christoph Lameter <cl@xxxxxxxxx>
>
> Sorry, as discussed earlier, this change is non-trivial. In addition,
> you have not justified the change.

The rationale is quite clear: Use of atomics without the need to use them.

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