Re: [RFC PATCH 6/8] sched: Report local wake up on resched blind zone within idle loop

2021-01-14 Thread Paul E. McKenney
On Thu, Jan 14, 2021 at 11:46:06AM +, Chris Wilson wrote: > Quoting Frederic Weisbecker (2021-01-09 02:05:34) > > +void noinstr sched_resched_local_assert_allowed(void) > > +{ > > + if (this_rq()->resched_local_allow) > > + return; > > + > > + /* > > +* Idle in

Re: [RFC PATCH 6/8] sched: Report local wake up on resched blind zone within idle loop

2021-01-11 Thread Frederic Weisbecker
On Mon, Jan 11, 2021 at 01:25:59PM +0100, Peter Zijlstra wrote: > On Sat, Jan 09, 2021 at 03:05:34AM +0100, Frederic Weisbecker wrote: > > The idle loop has several need_resched() checks that make sure we don't > > miss a rescheduling request. This means that any wake up performed on > > the local

Re: [RFC PATCH 6/8] sched: Report local wake up on resched blind zone within idle loop

2021-01-11 Thread Peter Zijlstra
On Sat, Jan 09, 2021 at 03:05:34AM +0100, Frederic Weisbecker wrote: > The idle loop has several need_resched() checks that make sure we don't > miss a rescheduling request. This means that any wake up performed on > the local runqueue after the last generic need_resched() check is going > to have

[RFC PATCH 6/8] sched: Report local wake up on resched blind zone within idle loop

2021-01-08 Thread Frederic Weisbecker
The idle loop has several need_resched() checks that make sure we don't miss a rescheduling request. This means that any wake up performed on the local runqueue after the last generic need_resched() check is going to have its rescheduling silently ignored. This has happened in the past with rcu kth