Re: [PATCHv2] efi/unaccepted: Fix soft lockups caused by parallel memory acceptance

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

 



On Mon, Oct 16, 2023 at 06:55:41PM +0100, Matthew Wilcox wrote:
> On Mon, Oct 16, 2023 at 07:31:22PM +0300, Kirill A. Shutemov wrote:
> >   v2:
> >    - Fix deadlock (Vlastimil);
> >    - Fix comments (Vlastimil);
> >    - s/cond_resched()/cpu_relax()/ -- cond_resched() cannot be called
> >      from atomic context;
> 
> Isn't there an implicit cpu_relax() while we're spinning?  Does this
> really accomplish anything?

You are right. It is useless. I will drop it in v3.

-- 
  Kiryl Shutsemau / Kirill A. Shutemov




[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