Re: [PATCH 1/3] sched, timer: Remove usages of ACCESS_ONCE in the scheduler

From: Steven Rostedt
Date: Wed Apr 15 2015 - 22:38:20 EST


On Wed, 15 Apr 2015 19:29:01 -0700
Jason Low <jason.low2@xxxxxx> wrote:

> On Tue, 2015-04-14 at 22:40 -0400, Steven Rostedt wrote:
> > You are correct. Now I'm thinking that the WRITE_ONCE() is not needed,
> > and just a:
> >
> > p->mm->numa_scan_seq = READ_ONCE(p->numa_scan_seq) + 1;
>
> Just to confirm, is this a typo? Because there really is a numa_scan_seq
> in the task_struct itself too :)
>

Oops, yeah that was a typo.

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