Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1532018ybh; Mon, 13 Jul 2020 23:41:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz0pU9NNFCf9GRjuqwvIrKUSuGvMUKlJc5VWZ9JJmsJ1qJjUcES7W5YptpYqIXwoOrhUxRf X-Received: by 2002:a17:906:3fc7:: with SMTP id k7mr3307686ejj.332.1594708903810; Mon, 13 Jul 2020 23:41:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594708903; cv=none; d=google.com; s=arc-20160816; b=jy2pKp7it4d+RgqCvRjyUliH0XnbxxrLsSGJa12/D56djTgdcg8k4L0ntvwSGmBAA+ 70jM40nILOnB4NkV7iDiz1oR083yCy+qCBoSpL2f+7VK8dVK4unvNvY5rADe5zvwbiHf xsj+BHErNOGp7SWVLoPQO4aqijhaTgSZujF1M5nVcnOEPHWrywvTNOQLCagBZOzDbkQG 1keIy8ncDFy9Zuf+pFZeDKl5ibsECd89gR+WiW8uXoi/gFgUKv8mgHn8+EGJNqECSF8R PhdUv/xaSFRUBUAb/U0nu4OnyxZdN4ggtFa7At41cN16MVFB3mgHnVcUklrHyij4UzsQ NZzA== 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=0LUTHaUTDvuocVStFcet3qJAg2DY6GInoJyg9ZkwLew=; b=HUOxma1PjNlH8KiUtncsNOjMzgclFeKrHlwK8gdidYQoz/bLkAtrkd5+zazfVD+231 iKf/fptsrwCesIr8DGdk4SVJcSVpbmBX6hBXDb0dqKXTU9DEsA8CMuhGA+BVUQ728ez2 /1K+vTKRpapCugSvb2jANHZAGWlXvmFRVbOoez8hEwptGn9v+WXvh4+Hv64aSMV4HBhq ZZxiE+fmE76jdDTDfoJ6GF+hUY19zWEDsFEolhQ6W3ez4bRKZyNJNOpIef5NGGQfg9Uh J5wYs9xJhBin4ca+DyfZy/mIjH1kfDhYl8ydt1FtFhDUYbOriL6QCEJskYkufSLy56c9 VupA== 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 m10si10089047eja.377.2020.07.13.23.41.21; Mon, 13 Jul 2020 23:41: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 S1726600AbgGNGlO (ORCPT + 99 others); Tue, 14 Jul 2020 02:41:14 -0400 Received: from verein.lst.de ([213.95.11.211]:52891 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725306AbgGNGlO (ORCPT ); Tue, 14 Jul 2020 02:41:14 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id 6CA0668CF0; Tue, 14 Jul 2020 08:41:11 +0200 (CEST) Date: Tue, 14 Jul 2020 08:41:11 +0200 From: Christoph Hellwig To: hpa@zytor.com Cc: Christoph Hellwig , linux-kernel@vger.kernel.org, Song Liu , Al Viro , Linus Torvalds , linux-raid@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: Re: decruft the early init / initrd / initramfs code v2 Message-ID: <20200714064111.GB32655@lst.de> References: <20200709151814.110422-1-hch@lst.de> <31944685-7627-43BA-B9A2-A4743AFF0AB7@zytor.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <31944685-7627-43BA-B9A2-A4743AFF0AB7@zytor.com> 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 Thu, Jul 09, 2020 at 04:32:07PM -0700, hpa@zytor.com wrote: > On July 9, 2020 8:17:57 AM PDT, Christoph Hellwig wrote: > >Hi all, > > > >this series starts to move the early init code away from requiring > >KERNEL_DS to be implicitly set during early startup. It does so by > >first removing legacy unused cruft, and the switches away the code > >from struct file based APIs to our more usual in-kernel APIs. > > > >There is no really good tree for this, so if there are no objections > >I'd like to set up a new one for linux-next. > > > > > >Git tree: > > > > git://git.infradead.org/users/hch/misc.git init-user-pointers > > > >Gitweb: > > > >http://git.infradead.org/users/hch/misc.git/shortlog/refs/heads/init-user-pointers > > > > > >Changes since v1: > > - add a patch to deprecated "classic" initrd support > > > >Diffstat: > > b/arch/arm/kernel/atags_parse.c | 2 > > b/arch/sh/kernel/setup.c | 2 > > b/arch/sparc/kernel/setup_32.c | 2 > > b/arch/sparc/kernel/setup_64.c | 2 > > b/arch/x86/kernel/setup.c | 2 > > b/drivers/md/Makefile | 3 > >b/drivers/md/md-autodetect.c | 239 > >++++++++++++++++++---------------------- > > b/drivers/md/md.c | 34 +---- > > b/drivers/md/md.h | 10 + > > b/fs/file.c | 7 - > > b/fs/open.c | 18 +-- > > b/fs/read_write.c | 2 > > b/fs/readdir.c | 11 - > > b/include/linux/initrd.h | 6 - > > b/include/linux/raid/detect.h | 8 + > > b/include/linux/syscalls.h | 16 -- > > b/init/Makefile | 1 > > b/init/do_mounts.c | 70 +---------- > > b/init/do_mounts.h | 21 --- > > b/init/do_mounts_initrd.c | 13 -- > > b/init/do_mounts_rd.c | 102 +++++++---------- > > b/init/initramfs.c | 103 +++++------------ > > b/init/main.c | 16 +- > > include/linux/raid/md_u.h | 13 -- > > 24 files changed, 251 insertions(+), 452 deletions(-) > > I guess I could say something here... ;) Like adding an ACK? :)