There's no chance of sleeping here, the reader is giving up the
lock and possibly waking up the writer who is waiting on it.
Reported-by: Chunyu Hu
Signed-off-by: Andrew Halaney
---
Hello,
I ran into a warning caused by this, and I think the warning is
incorrect. Please let me know i
Hi,
I booted the RT kernel (v5.12-rc3-rt3) with KASAN enabled for the first
time today and noticed this:
[2.670635] BUG: sleeping function called from invalid context at
kernel/locking/rtmutex.c:951
[2.670638] in_atomic(): 0, irqs_disabled(): 1, non_block: 0, pid: 19, name:
pgdatinit0
[
--
> 2.29.2
>
Got rid of the warning for me, I don't have hardware to test on but I
don't think that's necessary for this.
Tested-by: Andrew Halaney
Reviewed-by: Andrew Halaney
Thanks,
Andrew
3 matches
Mail list logo