Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp1434807ybz; Fri, 1 May 2020 23:25:43 -0700 (PDT) X-Google-Smtp-Source: APiQypIL/sAotmlt/G8Df/UFYxtKU2xFLQQ1ooqD2W4u0puZSsKlGGndb4fSMug9oYFm+SbbL0qh X-Received: by 2002:a17:906:3da:: with SMTP id c26mr6564967eja.290.1588400743662; Fri, 01 May 2020 23:25:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588400743; cv=none; d=google.com; s=arc-20160816; b=wXYk3h1vMD2FypRpDsVF+WpWdYK09UBFDqgmyEB6qq/d9SDRsFreKBbTs7owWvn6l/ I8ZHcRv+S97XhG5us0OddWrrpISKpclvCnhjpV8C5gUuSvLAtf3BR5e5I3q8bXZrtavz UZD0HjRuYyiOSo997VUirxcIeEGIiMLWfQ4/Afb1MWFaQOGDge8YcWPUSPEb3herbOMK 5wX4YY/tgh1sXD+7pos5pGGuXxv3lK5/PPtYL9gHp3zpTfTYRjy8jQv4jZUqe547Tn2i oUrIDvjRIdz2GFlJTg+WXY+4p/L2+yewZ4qc1sJVMXFyo6iq+5FzxKE6SzyIVOXJZtJI FVUQ== 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=wHbNIgz7jwKX+T5H33H4QHKvvjtjLUfNieYNswg2qgs=; b=orVHwRcpEMQEVTyqBWR6+fcdOX8ukVpZR72O5++HkWTT5sIacKhsKmjTGNatI8tGeG vx/OBvLoad+CpwoEBEFSiXnRRp775fB70gpikE32WVyeA9KQMbFAjnBVQt3sIQ+CuNQO hQSm2PGGyGYsXjgS8L7Zgudjo55m9I2o4/qPq2ESDe1K9awmYtTW6iLVdx0gRwLXiSs/ aiqJq9XiRDhVCoA1EKoeIXnnZL4pqcBvP/H8JmDaAQ3kciqZFLjmW9/t6CIZJTyRIVYY EmeP0HIzvYn5Qo2bc4n37oevQNg3aqyyRJzxxsIcljYUH6SifYVsbgN0abmPIjSUSTAR 3EvQ== 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 bz1si2757457ejc.368.2020.05.01.23.25.20; Fri, 01 May 2020 23:25: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 S1726759AbgEBGXx (ORCPT + 99 others); Sat, 2 May 2020 02:23:53 -0400 Received: from verein.lst.de ([213.95.11.211]:50177 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726273AbgEBGXx (ORCPT ); Sat, 2 May 2020 02:23:53 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id 52DDE68C4E; Sat, 2 May 2020 08:23:51 +0200 (CEST) Date: Sat, 2 May 2020 08:23:51 +0200 From: Christoph Hellwig To: Al Viro Cc: Andrew Morton , Christoph Hellwig , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/2] exec: open code copy_string_kernel Message-ID: <20200502062351.GA2158@lst.de> References: <20200501104105.2621149-1-hch@lst.de> <20200501104105.2621149-3-hch@lst.de> <20200501141903.5f7b1f81fdd38ae372d91f0e@linux-foundation.org> <20200501213048.GO23230@ZenIV.linux.org.uk> <20200501144013.be5bf036ab7f2d2303676bce@linux-foundation.org> <20200501220449.GQ23230@ZenIV.linux.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200501220449.GQ23230@ZenIV.linux.org.uk> 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 Fri, May 01, 2020 at 11:04:49PM +0100, Al Viro wrote: > Long story - basically, it's been a source of massive headache too many times. > No formal project, but there are several people (me, Arnd, Christoph) who'd > been reducing its use. For more than a decade now, I think... > > FWIW, I doubt that it will be entirely killable; Christoph appears to be > more optimistic. In any case, its use has been greatly reduced and having > it narrowed down to even fewer places would be a good thing. > > In the same direction: use_mm()/unuse_mm() regularization wrt set_fs(), getting > rid of it in coredump code, some movements towards killing ioctl_by_bdev(); > not sure if I've spotted everything - Christoph? That's the big current projects out in the wild. I have a few more growing.