Re: [PATCH 1/1] userfaultfd: do not block on locking a large folio with raised refcount

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

 



On Wed, Feb 26, 2025 at 8:16 AM Matthew Wilcox <willy@xxxxxxxxxxxxx> wrote:
>
> On Wed, Feb 26, 2025 at 08:11:25AM -0800, Suren Baghdasaryan wrote:
> > On Wed, Feb 26, 2025 at 6:59 AM Liam R. Howlett <Liam.Howlett@xxxxxxxxxx> wrote:
> > > Reversing the locking/folio_get() is okay because of the src_ptl spin
> > > lock, right?  It might be worth saying something about it in the
> > > comment?
> >
> > That is correct. We take both folio lock and refcount before we drop
> > PTL. I'll add a comment. Thanks!
>
> In the commit message, not in the code, please.

Ack.





[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