Re: [RFC 4/6] sched: secure access to other CPU statistics

2012-10-29 Thread Vincent Guittot
On 24 October 2012 17:21, Santosh Shilimkar wrote: > $subject is bit confusing here. > > > On Sunday 07 October 2012 01:13 PM, Vincent Guittot wrote: >> >> The atomic update of runnable_avg_sum and runnable_avg_period are ensured >> by their size and the toolchain. But we must ensure to not read a

Re: [RFC 4/6] sched: secure access to other CPU statistics

2012-10-24 Thread Santosh Shilimkar
$subject is bit confusing here. On Sunday 07 October 2012 01:13 PM, Vincent Guittot wrote: The atomic update of runnable_avg_sum and runnable_avg_period are ensured by their size and the toolchain. But we must ensure to not read an old value for one field and a newly updated value for the other