On 3/6/20 5:03 PM, Sebastian Andrzej Siewior wrote: > The memory allocation via kmalloc(, GFP_ATOMIC) in atomic context > (disabled preemption or interrupts) is not allowed on RT because the > buddy allocator is using sleeping locks which can't be acquired in this > context. > Such an an allocation may not trigger a warning in the buddy allocator > if it is always satisfied in the SLUB allocator. > > Add a warning on RT if a memory allocation was attempted in not > preemptible region. > > Signed-off-by: Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx> Reviewed-by: Daniel Bristot de Oliveira <bristot@xxxxxxxxxx> Thanks! -- Daniel