Re: 5.4.143-rt63 fscache sleeps while holding a look
From: Sebastian Andrzej Siewior
Date: Thu Oct 28 2021 - 04:57:32 EST
On 2021-09-14 10:29:40 [+0200], Gregor Beck wrote:
Hi,
> with kernel 5.4.143-rt63 fscache might sleep while holding a lock:
>
> [ 1392.058346] BUG: sleeping function called from invalid context at
> kernel/locking/rtmutex.c:973
> [ 1392.058349] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 159,
> name: kswapd0
> [ 1392.058351] Preemption disabled at:
> [ 1392.058351] [<ffffffffc053a2a5>] fscache_enqueue_object+0x45/0x100
> [fscache]
This brings some memory back. Let me stare at it.
> Gregor
Sebastian