From: Steven Rostedt <rostedt@goodmis.org>
To: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Masahiro Yamada <masahiroy@kernel.org>,
Padmanabha Srinivasaiah <treasure4paddy@gmail.com>,
LKML <linux-kernel@vger.kernel.org>,
Jonathan Corbet <corbet@lwn.net>,
"open list:DOCUMENTATION" <linux-doc@vger.kernel.org>,
Randy Dunlap <rdunlap@infradead.org>
Subject: Re: [PATCH v2 2/3] bootconfig: Support embedding a bootconfig file in kernel
Date: Sat, 26 Mar 2022 09:54:20 -0400 [thread overview]
Message-ID: <20220326095420.2060aae3@rorschach.local.home> (raw)
In-Reply-To: <20220326214040.07d4c8b99d7b83229509340d@kernel.org>
On Sat, 26 Mar 2022 21:40:40 +0900
Masami Hiramatsu <mhiramat@kernel.org> wrote:
> > BTW, it is already possible to embed kernel parameters
> > into the kernel.
> > Is this another implementation of CONFIG_CMDLINE?
If one changes CONFIG_CMDLINE, does it require a rebuild of vmlinux?
>
> Yes, it is the bootconfig version of the CONFIG_CMDLINE.
> Since some boot-time tracing feature depends on the bootconfig (those can
> not be set via kernel cmdline), we need this feature for those features
> on non-initrd boot system.
Yes, the kernel command line has a fixed size, and with tracing
options, we can easily go over it.
bootconfig is a way to have an unlimited size and also be able to have
a better and more reasonable formatting to express options for things
like tracing.
-- Steve
next prev parent reply other threads:[~2022-03-26 13:54 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-14 9:08 [PATCH v2 0/3] bootconfig: Support embedding a bootconfig in kernel for non initrd boot Masami Hiramatsu
2022-03-14 9:08 ` [PATCH v2 1/3] bootconfig: Check the checksum before removing the bootconfig from initrd Masami Hiramatsu
2022-03-14 9:08 ` [PATCH v2 2/3] bootconfig: Support embedding a bootconfig file in kernel Masami Hiramatsu
2022-03-16 19:16 ` Padmanabha Srinivasaiah
2022-03-18 1:14 ` Masami Hiramatsu
2022-03-21 18:35 ` Padmanabha Srinivasaiah
2022-03-22 3:03 ` Masami Hiramatsu
2022-03-22 19:02 ` Padmanabha Srinivasaiah
2022-03-23 0:16 ` Masami Hiramatsu
2022-03-23 15:56 ` Padmanabha Srinivasaiah
2022-03-24 1:05 ` Masami Hiramatsu
2022-03-23 17:11 ` Nick Desaulniers
2022-03-24 1:10 ` Masami Hiramatsu
2022-03-26 2:34 ` Masahiro Yamada
2022-03-26 12:40 ` Masami Hiramatsu
2022-03-26 13:54 ` Steven Rostedt [this message]
2022-03-14 9:08 ` [PATCH v2 3/3] docs: bootconfig: Add how to embed the bootconfig into kernel Masami Hiramatsu
-- strict thread matches above, loose matches on Subject: below --
2022-03-14 1:53 [PATCH v2 0/3] bootconfig: Support embedding a bootconfig in kernel for non initrd boot Masami Hiramatsu
2022-03-14 1:54 ` [PATCH v2 2/3] bootconfig: Support embedding a bootconfig file in kernel Masami Hiramatsu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220326095420.2060aae3@rorschach.local.home \
--to=rostedt@goodmis.org \
--cc=corbet@lwn.net \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=masahiroy@kernel.org \
--cc=mhiramat@kernel.org \
--cc=rdunlap@infradead.org \
--cc=treasure4paddy@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).