Re: [PATCH 14/17] powerpc/qspinlock: use spin_begin/end API

2022-11-10 Thread Nicholas Piggin
On Thu Nov 10, 2022 at 10:43 AM AEST, Jordan Niethe wrote: > On Thu, 2022-07-28 at 16:31 +1000, Nicholas Piggin wrote: > [resend as utf-8, not utf-7] > > Use the spin_begin/spin_cpu_relax/spin_end APIs in qspinlock, which helps > > to prevent threads issuing a lot of expensive priority nops which m

Re: [PATCH 14/17] powerpc/qspinlock: use spin_begin/end API

2022-11-09 Thread Jordan Niethe
On Thu, 2022-07-28 at 16:31 +1000, Nicholas Piggin wrote: [resend as utf-8, not utf-7] > Use the spin_begin/spin_cpu_relax/spin_end APIs in qspinlock, which helps > to prevent threads issuing a lot of expensive priority nops which may not > have much effect due to immediately executing low then med

Re: [PATCH 14/17] powerpc/qspinlock: use spin_begin/end API

2022-08-11 Thread Jordan Niethe
On Thu, 2022-07-28 at 16:31 +1000, Nicholas Piggin wrote: > Use the spin_begin/spin_cpu_relax/spin_end APIs in qspinlock, which helps > to prevent threads issuing a lot of expensive priority nops which may not > have much effect due to immediately executing low then medium priority. Just a general

[PATCH 14/17] powerpc/qspinlock: use spin_begin/end API

2022-07-27 Thread Nicholas Piggin
Use the spin_begin/spin_cpu_relax/spin_end APIs in qspinlock, which helps to prevent threads issuing a lot of expensive priority nops which may not have much effect due to immediately executing low then medium priority. --- arch/powerpc/lib/qspinlock.c | 35 +++ 1 f