Re: [PATCH] mm/page_alloc: Use write_seqlock_irqsave() instead write_seqlock() + local_irq_save().

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

 



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




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux