[Ocfs2-devel] [PATCH v2 1/6] iov_iter: Introduce fault_in_iov_iter helper

Linus Torvalds torvalds at linux-foundation.org
Mon Jul 19 12:26:27 PDT 2021


On Sun, Jul 18, 2021 at 3:39 PM Andreas Gruenbacher <agruenba at redhat.com> wrote:
>
> Introduce a new fault_in_iov_iter helper for manually faulting in an iterator.
> Other than fault_in_pages_writeable(), this function is non-destructive.

You mean "Unlike" rather than "Other than" (also in the comment of the patch).

This is fairly inefficient, but as long as it's the exceptional case,
that's fine. It might be worth making that very explicit, so that
people don't try to use it normally.

                Linus



More information about the Ocfs2-devel mailing list