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

2015-04-29 Thread Jason Low
On Wed, 2015-04-29 at 13:15 -0400, Steven Rostedt wrote: > On Wed, 29 Apr 2015 13:05:55 -0400 > Waiman Long wrote: > > > > goto no_join; > > > @@ -2107,7 +2107,7 @@ void task_numa_fault(int last_cpupid, int mem_node, > > > int pages, int flags) > > > > > > static void reset_p

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

2015-04-29 Thread Steven Rostedt
On Wed, 29 Apr 2015 13:05:55 -0400 Waiman Long wrote: > > goto no_join; > > @@ -2107,7 +2107,7 @@ void task_numa_fault(int last_cpupid, int mem_node, > > int pages, int flags) > > > > static void reset_ptenuma_scan(struct task_struct *p) > > { > > - ACCESS_ONCE(p->mm->numa_scan

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

2015-04-29 Thread Waiman Long
On 04/28/2015 04:00 PM, Jason Low wrote: ACCESS_ONCE doesn't work reliably on non-scalar types. This patch removes the rest of the existing usages of ACCESS_ONCE in the scheduler, and use the new READ_ONCE and WRITE_ONCE APIs. Signed-off-by: Jason Low --- include/linux/sched.h |4

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

2015-04-29 Thread Rik van Riel
On 04/28/2015 04:00 PM, Jason Low wrote: ACCESS_ONCE doesn't work reliably on non-scalar types. This patch removes the rest of the existing usages of ACCESS_ONCE in the scheduler, and use the new READ_ONCE and WRITE_ONCE APIs. Signed-off-by: Jason Low Acked-by: Rik van Riel -- To unsubscrib