Re: [RFC PATCH] kernel: locking: rwsem optimization for rtlinux

From: Sebastian Andrzej Siewior
Date: Wed May 11 2022 - 05:37:38 EST


On 2022-05-11 16:21:21 [+0800], zhaoyang.huang wrote:
> From: Zhaoyang Huang <zhaoyang.huang@xxxxxxxxxx>
>
> With regard to rtlinux, releasing the lock to RT waiter could be helpful to
> increase its responding time even if cfs writer listed at the head of the
> wait_list.

This does not apply to current kernel (v5.18-rc6). If you need want to
apply some thing to an older kernel, I suggest a backport and reasoning
why this backport is needed.
So first you need address the issue, that you are facing, in the current
development kernel.
Also it would be good to know if "rtlinux" is PREEMPT_RT or something
else. The latter uses a different mechanism.

> Signed-off-by: Zhaoyang Huang <zhaoyang.huang@xxxxxxxxxx>

Sebastian