From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pegase2.c-s.fr (pegase2.c-s.fr [93.17.235.10]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D576B3074AC; Mon, 15 Sep 2025 12:20:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=93.17.235.10 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757938851; cv=none; b=ipTK0FAm25GvMH8ZNIIiN6Kih+NRGBckFNHEHgvJ8lYSx+AWB1nJUNuk6XjoKiJ92SJMG/uU/FYcXgXDvNfhyTIPY+8XjRnJ+uNlfI3Z81tUYGwNgRMBDVv52x4E4UANN5zM0r9Lq/VL7NUyZy7LGO8n6i6U2Jba2vmD8s16HCQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757938851; c=relaxed/simple; bh=uNIo1cAabwzE9IPA0cfQV0YWz9JkTnjDxgf5F6VCJ0o=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=PEQB/gVb3oTdMdxdqhI7rx96UTR9YS9OJppZvUu3TRW6gOOswN6CqKGgWg+09X1m4v8tY6sNRHa8cjRE8cGzLx3LX1EKDhxCr/zVJ6C++OUEBLUVnOnTWBeZMM2j3fMONnpfzg4NHO1QygouNw/0yGABf7hswAAmvLDzJUXFp3U= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=csgroup.eu; spf=pass smtp.mailfrom=csgroup.eu; arc=none smtp.client-ip=93.17.235.10 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=csgroup.eu Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=csgroup.eu Received: from localhost (mailhub4.si.c-s.fr [172.26.127.67]) by localhost (Postfix) with ESMTP id 4cQNZf0vcmz9syy; Mon, 15 Sep 2025 13:48:10 +0200 (CEST) X-Virus-Scanned: amavisd-new at c-s.fr Received: from pegase2.c-s.fr ([172.26.127.65]) by localhost (pegase2.c-s.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 94pnKAlpBYHg; Mon, 15 Sep 2025 13:48:10 +0200 (CEST) Received: from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192]) by pegase2.c-s.fr (Postfix) with ESMTP id 4cQNZd5CrVz9syw; Mon, 15 Sep 2025 13:48:09 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 7E35C8B766; Mon, 15 Sep 2025 13:48:09 +0200 (CEST) X-Virus-Scanned: amavisd-new at c-s.fr Received: from messagerie.si.c-s.fr ([127.0.0.1]) by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id uLBCpzlqUS-U; Mon, 15 Sep 2025 13:48:09 +0200 (CEST) Received: from [10.25.207.160] (unknown [10.25.207.160]) by messagerie.si.c-s.fr (Postfix) with ESMTP id DC6128B763; Mon, 15 Sep 2025 13:48:08 +0200 (CEST) Message-ID: Date: Mon, 15 Sep 2025 13:48:08 +0200 Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH RESEND 05/62] init: remove "ramdisk_start" command line parameter, which controls starting block number of initrd To: Askar Safin , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Linus Torvalds , Greg Kroah-Hartman , Christian Brauner , Al Viro , Jan Kara , Christoph Hellwig , Jens Axboe , Andy Shevchenko , Aleksa Sarai , =?UTF-8?Q?Thomas_Wei=C3=9Fschuh?= , Julian Stecklina , Gao Xiang , Art Nikpal , Andrew Morton , Eric Curtin , Alexander Graf , Rob Landley , Lennart Poettering , linux-arch@vger.kernel.org, linux-alpha@vger.kernel.org, linux-snps-arc@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-csky@vger.kernel.org, linux-hexagon@vger.kernel.org, loongarch@lists.linux.dev, linux-m68k@lists.linux-m68k.org, linux-mips@vger.kernel.org, linux-openrisc@vger.kernel.org, linux-parisc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-riscv@lists.infradead.org, linux-s390@vger.kernel.org, linux-sh@vger.kernel.org, sparclinux@vger.kernel.org, linux-um@lists.infradead.org, x86@kernel.org, Ingo Molnar , linux-block@vger.kernel.org, initramfs@vger.kernel.org, linux-api@vger.kernel.org, linux-doc@vger.kernel.org, linux-efi@vger.kernel.org, linux-ext4@vger.kernel.org, "Theodore Y . Ts'o" , linux-acpi@vger.kernel.org, Michal Simek , devicetree@vger.kernel.org, Luis Chamberlain , Kees Cook , Thorsten Blum , Heiko Carstens , patches@lists.linux.dev References: <20250913003842.41944-1-safinaskar@gmail.com> <20250913003842.41944-6-safinaskar@gmail.com> From: Christophe Leroy Content-Language: fr-FR In-Reply-To: <20250913003842.41944-6-safinaskar@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Have a simpler subject, Le 13/09/2025 à 02:37, Askar Safin a écrit : > [Vous ne recevez pas souvent de courriers de safinaskar@gmail.com. Découvrez pourquoi ceci est important à https://aka.ms/LearnAboutSenderIdentification ] > > This is preparation for initrd removal and make a more interesting message. For me it would make more sense to remove ramdisk_start and ramdisk_size at the same time. Christophe > > Signed-off-by: Askar Safin > --- > Documentation/admin-guide/blockdev/ramdisk.rst | 3 +-- > Documentation/admin-guide/kernel-parameters.txt | 2 -- > init/do_mounts_rd.c | 7 ------- > 3 files changed, 1 insertion(+), 11 deletions(-) > > diff --git a/Documentation/admin-guide/blockdev/ramdisk.rst b/Documentation/admin-guide/blockdev/ramdisk.rst > index 9ce6101e8dd9..e57c61108dbc 100644 > --- a/Documentation/admin-guide/blockdev/ramdisk.rst > +++ b/Documentation/admin-guide/blockdev/ramdisk.rst > @@ -74,12 +74,11 @@ arch/x86/boot/Makefile. > > Some of the kernel command line boot options that may apply here are:: > > - ramdisk_start=N > ramdisk_size=M > > If you make a boot disk that has LILO, then for the above, you would use:: > > - append = "ramdisk_start=N ramdisk_size=M" > + append = "ramdisk_size=M" > > 4) An Example of Creating a Compressed RAM Disk > ----------------------------------------------- > diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt > index f940c1184912..07e8878f1e13 100644 > --- a/Documentation/admin-guide/kernel-parameters.txt > +++ b/Documentation/admin-guide/kernel-parameters.txt > @@ -5285,8 +5285,6 @@ > ramdisk_size= [RAM] Sizes of RAM disks in kilobytes > See Documentation/admin-guide/blockdev/ramdisk.rst. > > - ramdisk_start= [RAM] RAM disk image start address > - > random.trust_cpu=off > [KNL,EARLY] Disable trusting the use of the CPU's > random number generator (if available) to > diff --git a/init/do_mounts_rd.c b/init/do_mounts_rd.c > index 8e0a774a9c6f..864fa88d9f89 100644 > --- a/init/do_mounts_rd.c > +++ b/init/do_mounts_rd.c > @@ -17,13 +17,6 @@ > static struct file *in_file, *out_file; > static loff_t in_pos, out_pos; > > -static int __init ramdisk_start_setup(char *str) > -{ > - /* will be removed in next commit */ > - return 1; > -} > -__setup("ramdisk_start=", ramdisk_start_setup); > - > static int __init crd_load(decompress_fn deco); > > /* > -- > 2.47.2 > >