Messages in this thread | | | Date | Thu, 12 Jan 2023 16:02:04 +0100 | From | Christoph Hellwig <> | Subject | Re: [PATCH v5 8/9] iov_iter, block: Make bio structs pin pages rather than ref'ing if appropriate |
| |
On Thu, Jan 12, 2023 at 02:58:49PM +0000, David Howells wrote: > That's kind of what I'm doing - though I've left out the else just in case the > VM decides to indicate back both FOLL_GET and FOLL_PIN. I'm not sure why it > would but...
It really can't - they are exclusive. Maybe we need an assert for that somewhere, but we surely shouldn't try to deal with it.
| |