Re: [PATCH v4 07/16] locking/rwsem: Implement lock handoff to prevent lock starvation

From: Peter Zijlstra
Date: Wed Apr 17 2019 - 03:13:24 EST


On Tue, Apr 16, 2019 at 05:07:26PM -0400, Waiman Long wrote:

> Thinking about it again. I think I will just change its definition to
> "((HZ + 249)/250)" for now to make sure that it is at least 1. The

DIV_ROUND_UP()