* [PATCH 1/1] first line in booting the kernel
@ 2015-12-24 9:55 Alexandru GOIA
2016-01-04 20:11 ` Pavel Machek
0 siblings, 1 reply; 2+ messages in thread
From: Alexandru GOIA @ 2015-12-24 9:55 UTC (permalink / raw)
To: linux-kernel@vger.kernel.org
What it does : first line of booting kernel, as seen in dmesg(1), will be the Linux kernel signature
(version, compiler, compiler hostname).
What it solves : it appers ahead of cgroup messages at booting.
So, instead of the unaesthetic lines :
Initializing cgroup subsys cpuset
Initializing cgroup subsys cpu
Initializing cgroup subsys cpuacct
Linux version 4 ....
... We will have :
Linux version 4 ...
Initializing cgroup subsys cpuset
Initializing cgroup subsys cpu
Initializing cgroup subsys cpuacct
As normal .
<code>
--- linux-4.4-rc6/init/main.c.original 2015-12-24 09:55:58.208811356 +0200
+++ linux-4.4-rc6/init/main.c 2015-12-24 09:57:06.364813237 +0200
@@ -513,6 +513,8 @@
*/
boot_init_stack_canary();
+ pr_notice("%s", linux_banner);
+
cgroup_init_early();
local_irq_disable();
@@ -524,7 +526,6 @@
*/
boot_cpu_init();
page_address_init();
- pr_notice("%s", linux_banner);
setup_arch(&command_line);
mm_init_cpumask(&init_mm);
setup_command_line(command_line);
</code>
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH 1/1] first line in booting the kernel
2015-12-24 9:55 [PATCH 1/1] first line in booting the kernel Alexandru GOIA
@ 2016-01-04 20:11 ` Pavel Machek
0 siblings, 0 replies; 2+ messages in thread
From: Pavel Machek @ 2016-01-04 20:11 UTC (permalink / raw)
To: Alexandru GOIA; +Cc: linux-kernel@vger.kernel.org
On Thu 2015-12-24 09:55:14, Alexandru GOIA wrote:
>
> What it does : first line of booting kernel, as seen in dmesg(1), will be the Linux kernel signature
> (version, compiler, compiler hostname).
>
> What it solves : it appers ahead of cgroup messages at booting.
Acked-by: Pavel Machek <pavel@ucw.cz>
(And I guess we need your sign-off, and probably Cc:
trivial@kernel.org).
> <code>
> --- linux-4.4-rc6/init/main.c.original 2015-12-24 09:55:58.208811356 +0200
> +++ linux-4.4-rc6/init/main.c 2015-12-24 09:57:06.364813237 +0200
> @@ -513,6 +513,8 @@
> */
> boot_init_stack_canary();
>
> + pr_notice("%s", linux_banner);
> +
> cgroup_init_early();
>
> local_irq_disable();
> @@ -524,7 +526,6 @@
> */
> boot_cpu_init();
> page_address_init();
> - pr_notice("%s", linux_banner);
> setup_arch(&command_line);
> mm_init_cpumask(&init_mm);
> setup_command_line(command_line);
>
> </code>--
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-01-04 20:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-24 9:55 [PATCH 1/1] first line in booting the kernel Alexandru GOIA
2016-01-04 20:11 ` Pavel Machek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox