On Fri 23-06-23 14:44:16, Sebastian Andrzej Siewior wrote: [...] > > Hmm, I feel worried that kmalloc(GFP_ATOMIC) from hard IRQ context > > might sleep if RT... > > Relax and don't worry. PREEMPT_RT does not allow (or has afaik) memory > allocations from hard IRQ context (or preempt-disable sections). Yeah, that would require something like GFP_LOCKLESS or change some of the locking we have to raw spinlocks. -- Michal Hocko SUSE Labs