lkml.org 
[lkml]   [2023]   [Jan]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v8 07/10] block: Switch to pinning pages.
On Tue, Jan 24, 2023 at 03:03:53PM +0000, David Howells wrote:
> Christoph Hellwig <hch@infradead.org> wrote:
>
> > It can't. Per your latest branch:
>
> Yes it can. Patch 6:

This never involves the cleanup mode as input. And as I pointed out
in the other mail, there is no need for the FOLL_ flags on the
cleanup side. You can just check the bio flag in bio_release_apges
and call either put_page or unpin_user_page on that. The direct
callers of bio_release_page never mix them pin and get cases anyway.
Let me find some time to code this up if it's easier to understand
that way.

\
 
 \ /
  Last update: 2023-03-26 23:54    [W:1.313 / U:0.144 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site