lkml.org 
[lkml]   [2014]   [Sep]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: dynticks: Remove atomic ops for dynticks_idle
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@linux.com>
>
> 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.



\
 
 \ /
  Last update: 2014-09-05 19:41    [W:0.592 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site