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 2023-06-21 13:49:06 [+0200], Michal Hocko wrote:
> > On PREEMPT_RT what you can happen is that the writer is preempted by a
> > high-priority reader which then deadlocks because the reader spins while
> > waiting and the writer is blocked. For this issue we have lock + unlock
> > in the seq reader to PI boost the seq writer so it can make progress. 
> 
> Please state the the problem explicitly in the changelog. You are
> marking this patch as a fix so the underlying issue should be stated.

The problem is the "local_irq_save()" which I believe I stated. The lock
+ unlock story was just a side story and is already covered. I really
need just the local_irq_save() invocation to be part of the seqlock API
so it can be substituted away.

> Thanks!

Sebastian




[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