[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20230420082153.6711-1-daniel.starke@siemens.com>
Date: Thu, 20 Apr 2023 10:21:53 +0200
From: "D. Starke" <daniel.starke@...mens.com>
To: jirislaby@...nel.org
Cc: gregkh@...uxfoundation.org, linux-kernel@...r.kernel.org,
yhao016@....edu
Subject: RE: BUG: sleeping function called from invalid context in __might_resched
> Hmm, tty_operations::write() is documented as "not allowed to sleep".
> But vt's write was always sleeping :D. I wonder:
> 1) can gsmld be switched to a mutex?
> 2) what do other ldiscs do? FWIW n_tty does mutex, so allows ::write()
> to sleep.
There was already a failed attempt to solve this in the past. But this is
not an easy issue and involves the complete outgoing data flow of the
driver.
Link: https://lore.kernel.org/all/20221205190806.179857803@linuxfoundation.org/
Best regards,
Daniel Starke
Powered by blists - more mailing lists