Re: [PATCH-tip v2 02/12] locking/rwsem: Implement lock handoff to prevent lock starvation

From: Peter Zijlstra
Date: Wed Apr 10 2019 - 11:10:28 EST


On Fri, Apr 05, 2019 at 03:21:05PM -0400, Waiman Long wrote:
> +#define RWSEM_WAIT_TIMEOUT ((HZ - 1)/200 + 1)

Given the choices in HZ, the above seems fairly 'optimistic'.