Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp1747737pxv; Fri, 23 Jul 2021 16:42:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzG5L5JnSHwUz/9LLzGSgjPA6IjSiqLiOBZ5aDw3AJDnN9SGA3BnbvaHT6C6X0jcOhnwugQ X-Received: by 2002:a05:6402:1011:: with SMTP id c17mr8025966edu.144.1627083739884; Fri, 23 Jul 2021 16:42:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627083739; cv=none; d=google.com; s=arc-20160816; b=NjH6Ru7bWA+ZtdgOI6tfosCqiIIVh+1tfzNScnAVklksfDlna6C8Q0LoV66W+h7ks5 yF0AkjHWmwz+eeezkHPoI8quueYg6ko+9NL6Gq1PdZjZR36G1UdiYlx9V/pH+Xq3u1Yw hoqbKzh7MWWWvcJnRyX3mK4KbSvRmEFlsMcgrNGTO6zEduKIMkinJWy3MHMfVaNHv5PJ YhPxNLho0TrHcy5sb1q3+pvdXK/bEj7bFFwxlwdw8wHb8pMFOd5ie4jvSO53xToAfOSw pefigsMuTvoO2nMTe7kpNX18sz9a3YKr++/ee8zQyVBc5wEVkIfm8aHWkwyA4jO96aAW B3vw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=7xkMQPx7Z/4PMvWsEiJNAXvxh1Yr4z8dYX5ZnaiIDS4=; b=qS3TctPt34Fckk2Xn/RWSxdjnNkeSxhC/THB2irevkmsxpchBMwQQaTn+y+ci3Hg/9 kPxBNfd5l9yD+BpZDngKo3sWw/yIENP14nuUc3HPKKMWyT5T8FaSclfP/jlTsAKjI4X0 8Zt/TI7BP3vnEp5QHd1X/28T1QkLdDDcvY+9vvCocEjzPjF7nwArtWqlt90+ceSFHXxp frIFMqvGe2/umaZ3o0gVO0qhEpvpice8W5ED59AbGedvEjy3Bka1QH2tekJsM5IG1Fhq YHLrbBaLgkOOKAZR499ylw0N0YZjrKaXam9cB08zUaryOYb4LH+Sz4vqS9andWNrQYXw 6Fzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=XXoy1TPU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p4si12522962eju.502.2021.07.23.16.41.54; Fri, 23 Jul 2021 16:42:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=XXoy1TPU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233064AbhGWXAK (ORCPT + 99 others); Fri, 23 Jul 2021 19:00:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47672 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232550AbhGWXAJ (ORCPT ); Fri, 23 Jul 2021 19:00:09 -0400 Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 48F7EC061757 for ; Fri, 23 Jul 2021 16:40:42 -0700 (PDT) Received: by mail-lf1-x12e.google.com with SMTP id a26so4573880lfr.11 for ; Fri, 23 Jul 2021 16:40:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=7xkMQPx7Z/4PMvWsEiJNAXvxh1Yr4z8dYX5ZnaiIDS4=; b=XXoy1TPU1apSD7knzLgEhQnUUASvLsESNRi3ne6s4RCN746cE5c/oLewHe1ah7OJWX zX+tmIau5y44orzHmGjm9NcWL+vLn4r2ubesRM6O+2Iy+N+vnUOQl9FVjsbt1NtSVWKo b0f0DH3eFHCHJGwwrCVmMzWiBYZqlieI0j0Fs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=7xkMQPx7Z/4PMvWsEiJNAXvxh1Yr4z8dYX5ZnaiIDS4=; b=eCo7Lk6n9z0WL1MnJHoYFNIDmIf6ofzjysByaTnaP9EEYPhL5u7HEKGbcGsh9quqdH xpKUMo3u5A3rdEcZwF2bEgkPKn6umIMrnNzaGDflr9lLzWzc8VwiZkdGtck/uPgNlK4i 9CG96xkB85GLVnMlGLpnAT+m4kz553Ng68S47B5dHniJmv1buN7Bab4SEvYKIrsJwKpw SGwjhQInaxHWRgBD9VCCbniE5F1cVNz5ONsgnEW+Ih16g7wb+0acvilcy1D0ob8ZeaHx FTHXyf5wcWMT8KJPGCEMETkMlnccxHlCEUL6J0D7HEukQOHfqKuttp2HGh3swYE0JDyI 3C2A== X-Gm-Message-State: AOAM531Bqw5j9FJElYsUaAHh8R1KW5lG+SdZVjwZbs0ItGt68Eb4Ca84 pj6CLOHwY8dwoUOsNlposvpWdVWFMNOwA79G X-Received: by 2002:ac2:5dc3:: with SMTP id x3mr4739281lfq.514.1627083640449; Fri, 23 Jul 2021 16:40:40 -0700 (PDT) Received: from mail-lj1-f179.google.com (mail-lj1-f179.google.com. [209.85.208.179]) by smtp.gmail.com with ESMTPSA id j21sm2350950lfg.56.2021.07.23.16.40.38 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 23 Jul 2021 16:40:39 -0700 (PDT) Received: by mail-lj1-f179.google.com with SMTP id r23so458954lji.3 for ; Fri, 23 Jul 2021 16:40:39 -0700 (PDT) X-Received: by 2002:a2e:90cd:: with SMTP id o13mr4693434ljg.465.1627083638619; Fri, 23 Jul 2021 16:40:38 -0700 (PDT) MIME-Version: 1.0 References: <20210723205840.299280-1-agruenba@redhat.com> <20210723205840.299280-2-agruenba@redhat.com> In-Reply-To: <20210723205840.299280-2-agruenba@redhat.com> From: Linus Torvalds Date: Fri, 23 Jul 2021 16:40:22 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v3 1/7] iov_iter: Introduce fault_in_iov_iter helper To: Andreas Gruenbacher Cc: Alexander Viro , Christoph Hellwig , "Darrick J. Wong" , Jan Kara , Matthew Wilcox , cluster-devel , linux-fsdevel , Linux Kernel Mailing List , ocfs2-devel@oss.oracle.com Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 23, 2021 at 1:58 PM Andreas Gruenbacher 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. Again, as I pointed out in the previous version, "Other than" is not sensible language. You mean "Unlike". Same issue in the comment: > + * Other than fault_in_pages_writeable(), this function is non-destructive even > + * when faulting in pages for writing. It really should be "Unlike fault_in_pages_writeable(), this function .." to parse correctly. I understand what you mean, but only because I know what fault_in_pages_writeable() does and what the issue was. And in a year or two, I might have forgotten, and wonder what you meant. Linus