Messages in this thread | | | Date | Thu, 11 May 2017 21:50:47 +0200 | From | Peter Zijlstra <> | Subject | Re: [RFC][PATCH] sched/deadline: Remove if statement before clearing throttle and yielded |
| |
On Thu, May 11, 2017 at 03:01:16PM +0100, Juri Lelli wrote:
> > - if (dl_se->dl_yielded) > > - dl_se->dl_yielded = 0; > > - if (dl_se->dl_throttled) > > - dl_se->dl_throttled = 0; > > + dl_se->dl_yielded = 0; > > + dl_se->dl_throttled = 0; > > } > > Looks good to me. > > Peter, any particular reason why you wanted to first check the values?
No idea, could be general paranoia on unconditional writes or something.
| |