Re: [PATCH RT v3 2/5] sched: Rename sleeping_lock to rt_invol_sleep

From: Sebastian Andrzej Siewior
Date: Tue Sep 17 2019 - 03:52:15 EST


On 2019-09-11 17:57:26 [+0100], Scott Wood wrote:
> It's already used for one situation other than acquiring a lock, and the
> next patch will add another, so change the name to avoid confusion.

I know it has been suggested but please don't rename it, keep it as is.
The _only_ reason why you are having it is to avoid a RCU related
warning.
PeterZ asked if we could maybe utilize a task-state bit for this
annotation instead. So I will look into this and change the mechanism
that is used to something different if it is preferred over this one and
you don't have to worry about it. Please use what is here at the moment.

> Signed-off-by: Scott Wood <swood@xxxxxxxxxx>

Sebastian