lkml.org 
[lkml]   [2020]   [Sep]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [PATCH 1/4] mm: Trial do_wp_page() simplification
    On Thu, Sep 17, 2020 at 3:09 PM Jason Gunthorpe <jgg@ziepe.ca> wrote:
    >
    > My advice for this -rc fix is to go with a single bit in the mm_struct
    > set on any call to pin_user_pages*

    Ack, except make sure it's a byte rather than a bitfield that could
    have races. Or even just a separate atomic_t.

    Keep it simple ans stupid and obvious. As you say, we can aim for
    cleanups later, make it obvious and reliable right now.

    Linus

    \
     
     \ /
      Last update: 2020-09-18 00:26    [W:6.437 / U:0.012 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site