Re: [PATCH] locking/qspinlock: Add bug check for exceeding MAX_NODES

2019-01-16 Thread Waiman Long
On 01/16/2019 11:47 AM, Will Deacon wrote: > On Tue, Jan 15, 2019 at 04:55:44PM -0500, Waiman Long wrote: >> On some architectures, it is possible to have nested NMIs taking >> spinlocks nestedly. Even though the chance of having more than 4 nested >> spinlocks with contention is extremely small, t

Re: [PATCH] locking/qspinlock: Add bug check for exceeding MAX_NODES

2019-01-16 Thread Will Deacon
On Tue, Jan 15, 2019 at 04:55:44PM -0500, Waiman Long wrote: > On some architectures, it is possible to have nested NMIs taking > spinlocks nestedly. Even though the chance of having more than 4 nested > spinlocks with contention is extremely small, there could still be a > possibility that it may