Re: [PATCH RT] mm: Warn on memory allocation in non-preemptible context on RT

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux