On 2021/9/1 15:29, Zenghui Yu wrote:
On 2021/7/20 21:37, Sudeep Holla wrote:
On Tue, Jul 20, 2021 at 07:26:35PM +0800, Xiongfeng Wang wrote:
When I added might_sleep() in down_timeout(), I got the following
Sorry it is not clear if you are able to reproduce this issue without
any other modifications in the mainline kernel ?
Jump in this thread as the exact splat is triggered at boot time
in the latest mainline kernel thanks to commit 99409b935c9a
("locking/semaphore: Add might_sleep() to down_*() family").
Please see the patch provided by Thomas Gleixner, it should
fix this issue in a better way:
https://lkml.org/lkml/2021/8/31/352