Re: [PATCH v5 4/5] locking/qspinlock: Introduce starvation avoidance into CNA

2019-10-18 Thread Waiman Long
On 10/16/19 12:29 AM, Alex Kogan wrote: > Keep track of the number of intra-node lock handoffs, and force > inter-node handoff once this number reaches a preset threshold. > > Signed-off-by: Alex Kogan > Reviewed-by: Steve Sistare > --- > kernel/locking/qspinlock.c | 3 +++ > kernel/locking

[PATCH v5 4/5] locking/qspinlock: Introduce starvation avoidance into CNA

2019-10-15 Thread Alex Kogan
Keep track of the number of intra-node lock handoffs, and force inter-node handoff once this number reaches a preset threshold. Signed-off-by: Alex Kogan Reviewed-by: Steve Sistare --- kernel/locking/qspinlock.c | 3 +++ kernel/locking/qspinlock_cna.h | 30 +++--- 2