[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20230208134132.47246300@canb.auug.org.au>
Date: Wed, 8 Feb 2023 13:41:32 +1100
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: Jason Gunthorpe <jgg@...dia.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Jens Axboe <axboe@...nel.dk>,
David Howells <dhowells@...hat.com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Linux Next Mailing List <linux-next@...r.kernel.org>
Subject: Re: linux-next: build failure after merge of the mm tree
Hi Jason,
On Tue, 7 Feb 2023 08:17:46 -0400 Jason Gunthorpe <jgg@...dia.com> wrote:
>
> Just s/= FOLL_PIN/= 0/, it is unconditionally set internally when calling
> pin_user_pages_fast()
Thanks, I have done just that for today:
From: Stephen Rothwell <sfr@...b.auug.org.au>
Date: Wed, 8 Feb 2023 13:33:55 +1100
Subject: [PATCH] fixup for "mm/gup: move private gup FOLL_ flags to internal.h"
interacting with "iov_iter: Add a function to extract a page list from
an iterator" from the block tree.
Signed-off-by: Stephen Rothwell <sfr@...b.auug.org.au>
---
lib/iov_iter.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/iov_iter.c b/lib/iov_iter.c
index 95b8047be5a7..f6c6aef6fbfb 100644
--- a/lib/iov_iter.c
+++ b/lib/iov_iter.c
@@ -2140,7 +2140,7 @@ static ssize_t iov_iter_extract_user_pages(struct iov_iter *i,
size_t *offset0)
{
unsigned long addr;
- unsigned int gup_flags = FOLL_PIN;
+ unsigned int gup_flags = 0;
size_t offset;
int res;
--
2.35.1
--
Cheers,
Stephen Rothwell
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists