lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Wed, 15 Jan 2020 07:30:20 -0800
From:   Christoph Hellwig <>
To:     John Hubbard <>
Cc:     Andrew Morton <>,
        Al Viro <>,
        Alex Williamson <>,
        Benjamin Herrenschmidt <>,
        Björn Töpel <>,
        Christoph Hellwig <>,
        Dan Williams <>,
        Daniel Vetter <>,
        Dave Chinner <>,
        David Airlie <>,
        "David S . Miller" <>,
        Ira Weiny <>, Jan Kara <>,
        Jason Gunthorpe <>, Jens Axboe <>,
        Jonathan Corbet <>,
        Jérôme Glisse <>,
        "Kirill A . Shutemov" <>,
        Magnus Karlsson <>,
        Mauro Carvalho Chehab <>,
        Michael Ellerman <>,
        Michal Hocko <>,
        Mike Kravetz <>,
        Paul Mackerras <>,
        Shuah Khan <>,
        Vlastimil Babka <>,,,,,,,,,,,,, LKML <>,
        Mike Rapoport <>
Subject: Re: [PATCH v12 11/22] mm/gup: introduce pin_user_pages*() and

On Tue, Jan 07, 2020 at 02:45:47PM -0800, John Hubbard wrote:
> Introduce pin_user_pages*() variations of get_user_pages*() calls,
> and also pin_longterm_pages*() variations.
> For now, these are placeholder calls, until the various call sites
> are converted to use the correct get_user_pages*() or
> pin_user_pages*() API.

What do the pure placeholders buy us?  The API itself looks ok,
but until it actually is properly implemented it doesn't help at
all, and we've had all kinds of bad experiences with these sorts
of stub APIs.

Powered by blists - more mailing lists