Re: sched=null vwfi=native and call_rcu()

2022-01-18 Thread Dario Faggioli
On Mon, 2022-01-17 at 12:13 +0100, Juergen Gross wrote: > On 17.01.22 12:05, George Dunlap wrote: > > > > An x86 equivalent of vwfi=native could be implemented easily, but > > AFAIK nobody has asked for it yet.  I agree that we need to fix if > > for ARM, and so in the absence of someone with the

Re: sched=null vwfi=native and call_rcu()

2022-01-17 Thread Julien Grall
Hi, On 17/01/2022 15:13, Juergen Gross wrote: On 17.01.22 12:05, George Dunlap wrote: On Jan 14, 2022, at 9:01 PM, Stefano Stabellini wrote: On Fri, 14 Jan 2022, Dario Faggioli wrote: On Thu, 2022-01-06 at 17:52 -0800, Stefano Stabellini wrote: On Thu, 6 Jan 2022, Julien Grall wrote: Alter

Re: sched=null vwfi=native and call_rcu()

2022-01-17 Thread Juergen Gross
On 17.01.22 12:05, George Dunlap wrote: On Jan 14, 2022, at 9:01 PM, Stefano Stabellini wrote: On Fri, 14 Jan 2022, Dario Faggioli wrote: On Thu, 2022-01-06 at 17:52 -0800, Stefano Stabellini wrote: On Thu, 6 Jan 2022, Julien Grall wrote: This issue and solution were discussed numerous t

Re: sched=null vwfi=native and call_rcu()

2022-01-17 Thread George Dunlap
> On Jan 14, 2022, at 9:01 PM, Stefano Stabellini > wrote: > > On Fri, 14 Jan 2022, Dario Faggioli wrote: >> On Thu, 2022-01-06 at 17:52 -0800, Stefano Stabellini wrote: >>> On Thu, 6 Jan 2022, Julien Grall wrote: This issue and solution were discussed numerous time on the ML. In >>

Re: sched=null vwfi=native and call_rcu()

2022-01-14 Thread Stefano Stabellini
On Fri, 14 Jan 2022, Dario Faggioli wrote: > On Thu, 2022-01-06 at 17:52 -0800, Stefano Stabellini wrote: > > On Thu, 6 Jan 2022, Julien Grall wrote: > > > > > > This issue and solution were discussed numerous time on the ML. In > > > short, we > > > want to tell the RCU that CPU running in guest

Re: sched=null vwfi=native and call_rcu()

2022-01-14 Thread Dario Faggioli
On Thu, 2022-01-06 at 17:52 -0800, Stefano Stabellini wrote: > On Thu, 6 Jan 2022, Julien Grall wrote: > > > > This issue and solution were discussed numerous time on the ML. In > > short, we > > want to tell the RCU that CPU running in guest context are always > > quiesced. > > For more details,

Re: sched=null vwfi=native and call_rcu()

2022-01-06 Thread Stefano Stabellini
On Thu, 6 Jan 2022, Julien Grall wrote: > On 06/01/2022 00:40, Stefano Stabellini wrote: > > As you might remember, we have an outstanding issue with call_rcu() when > > sched=null vwfi=native are used. That is because in that configuration > > the CPU never goes idle so rcu_idle_enter() never gets

Re: sched=null vwfi=native and call_rcu()

2022-01-06 Thread Julien Grall
On 06/01/2022 00:40, Stefano Stabellini wrote: Hi all, Hi, As you might remember, we have an outstanding issue with call_rcu() when sched=null vwfi=native are used. That is because in that configuration the CPU never goes idle so rcu_idle_enter() never gets called. The issue was caught on

sched=null vwfi=native and call_rcu()

2022-01-05 Thread Stefano Stabellini
Hi all, As you might remember, we have an outstanding issue with call_rcu() when sched=null vwfi=native are used. That is because in that configuration the CPU never goes idle so rcu_idle_enter() never gets called. The issue was caught on the field and I managed to repro the problem doing the fol