On Wed 2021-10-13 10:39:00, Sebastian Andrzej Siewior wrote: > On 2021-10-13 10:08:38 [+0200], Pavel Machek wrote: > > Hi! > Hi, > > > > - The idle loop (x86 or ARM makes no difference) is always invoked with > > > disabled interrupts and so sleeping is a no no on PREEMPT_RT. So a > > > spinlock_t can not be acquired in this context. > > > > Ok, I have reviewed code, and your patch seems like a way forward. Can > > you resubmit it with fixed changelog? > > Could you please point me what to needs to be fixed in the changelog? > I mentioned the read lock which is acquired with disabled interrupts > and this does not work on PREEMPT_RT. The read lock is gone in linux-next now (it was problematic for other reasons and it was not the main problem). Pavel -- http://www.livejournal.com/~pavelmachek
Attachment:
signature.asc
Description: Digital signature