Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp281744ybt; Tue, 7 Jul 2020 23:11:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxx/MFP7ssEjjj/BcAhDyeIEQH7GCi5D7JsiFJZm8O7NFXSdl6qO2XmeQn1t6X+eXu090ar X-Received: by 2002:a05:6402:1a4b:: with SMTP id bf11mr49747811edb.191.1594188703726; Tue, 07 Jul 2020 23:11:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594188703; cv=none; d=google.com; s=arc-20160816; b=ih461TaVCU1aSr2QL9TIu56XuM1Qed3FQMVMYJ0nWkmUErDwvPo03mCbMVkL87LDSa yArdoyWQY+a5s8DlnXNEa8uGBEZBKzAAa7GsT+32+XCkOn5gGcL227rkOESGNwbNxRHi gWtVMnKClbkWtvCZyPw8Na9DaGbFu2g6ouWaHeEyCQts5L33aIP9ztGznqriRohqTWFr 9BESR807sS4+Q96cq/JEJEVJ5p4TqxP+XzAhnz2jIuQLcpdnXjXkVE5ap39ZQNexOx5A kCoM5uBKboLC11xIguy+FEmkgTEuOB+vLZch6uiaFwk4AKoeH7Jmj9FB2UL5ngi/NoxA Fykw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=HUpDEY//dfmEeEFvvKKvN5J9NpFKesGfTvoScrzhHUs=; b=OLWCwN4YJfPqG6WkWHzJVZEsn+XQVjc0LnD0Bnyo8VJ8p4sLcHXbnHq2pqvRehDW7x iq665yzJlojeQ+bjD83kAaqfRM4clZp3Qb1I+Em9fUqRCskOgAtcUhgyqFJx7LT1bgVc nRPSSC2iedZZbGfVMXh+K25ttGecFAEys4Ny3+MM5VOtK+tHFFUB199XhBacojZatDxW v+SotCxFGXosKCZJtGwzPKNS03SIdxrHe1LwWHNzkp5FlnJ5sadIv3JFzUuNwfw1eYUM KJ9aIssawtD8M7q0wvWjq1c3LOUBWXHwxBI3Az3R7FVTmbXY3MRulvF3f12zP5SH15fA sfTQ== ARC-Authentication-Results: i=1; mx.google.com; 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 jp14si16531879ejb.93.2020.07.07.23.11.20; Tue, 07 Jul 2020 23:11:43 -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; 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 S1729748AbgGHGHe (ORCPT + 99 others); Wed, 8 Jul 2020 02:07:34 -0400 Received: from verein.lst.de ([213.95.11.211]:33725 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726472AbgGHGHe (ORCPT ); Wed, 8 Jul 2020 02:07:34 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id 4EEC168AFE; Wed, 8 Jul 2020 08:07:30 +0200 (CEST) Date: Wed, 8 Jul 2020 08:07:30 +0200 From: Christoph Hellwig To: Linus Torvalds Cc: Christoph Hellwig , Al Viro , Stephen Rothwell , Luis Chamberlain , Matthew Wilcox , Kees Cook , Iurii Zaikin , Linux Kernel Mailing List , linux-fsdevel Subject: Re: stop using ->read and ->write for kernel access v3 Message-ID: <20200708060730.GB4919@lst.de> References: <20200707174801.4162712-1-hch@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 07, 2020 at 01:24:01PM -0700, Linus Torvalds wrote: > On Tue, Jul 7, 2020 at 10:48 AM Christoph Hellwig wrote: > > > > Hi Al and Linus (and Stephen, see below), > > > > as part of removing set_fs entirely (for which I have a working > > prototype), we need to stop calling ->read and ->write with kernel > > pointers under set_fs. > > I'd be willing to pick up patches 1-6 as trivial and obvious cleanups > right now, if you sent those to me as a pull request. That would at > least focus the remaining series a bit on the actual changes.. If we do that we should do 1-7 and 9-12 to include the read side as well. But yes, maybe that way we'll get started.