Messages in this thread | | | Subject | Re: [PATCH-tip v2 02/12] locking/rwsem: Implement lock handoff to prevent lock starvation | From | Waiman Long <> | Date | Wed, 10 Apr 2019 11:29:26 -0400 |
| |
On 04/10/2019 11:10 AM, Peter Zijlstra wrote: > 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'.
I can tighten it up and make it less "optimistic" :-)
Cheers, Longman
| |