Re: [PATCH 00/10] kernel/locking: qspinlock improvements

2018-04-11 Thread Andrea Parri
On Wed, Apr 11, 2018 at 11:20:04AM +0100, Catalin Marinas wrote: > On Fri, Apr 06, 2018 at 03:22:49PM +0200, Andrea Parri wrote: > > On Thu, Apr 05, 2018 at 05:58:57PM +0100, Will Deacon wrote: > > > I've been kicking the tyres further on qspinlock and with this set of > > > patches > > > I'm happ

Re: [PATCH 00/10] kernel/locking: qspinlock improvements

2018-04-11 Thread Catalin Marinas
On Fri, Apr 06, 2018 at 03:22:49PM +0200, Andrea Parri wrote: > On Thu, Apr 05, 2018 at 05:58:57PM +0100, Will Deacon wrote: > > I've been kicking the tyres further on qspinlock and with this set of > > patches > > I'm happy with the performance and fairness properties. In particular, the > > lock

Re: [PATCH 00/10] kernel/locking: qspinlock improvements

2018-04-06 Thread Andrea Parri
On Thu, Apr 05, 2018 at 05:58:57PM +0100, Will Deacon wrote: > Hi all, > > I've been kicking the tyres further on qspinlock and with this set of patches > I'm happy with the performance and fairness properties. In particular, the > locking algorithm now guarantees forward progress whereas the impl

[PATCH 00/10] kernel/locking: qspinlock improvements

2018-04-05 Thread Will Deacon
Hi all, I've been kicking the tyres further on qspinlock and with this set of patches I'm happy with the performance and fairness properties. In particular, the locking algorithm now guarantees forward progress whereas the implementation in mainline can starve threads indefinitely in cmpxchg loops