Re: [PATCH 1/1] kernel booting messages, first line
From: Randy Dunlap
Date: Tue Dec 29 2015 - 13:42:53 EST
On 12/28/15 17:31, Alexandru GOIA wrote:
>
> For -rc8 ,
>
> Hoping that someone DO cares about the aesthetic of kernel messages at boot :
>
>
> 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.
>
>
> This ugliness, since 3.10.x kernel.
>
>
> 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 .
>
>
> In file linux-4.4-rc7/init/main.c :
>
> <code>
>
> --- main.c 2015-12-28 04:17:37.000000000 +0200
> +++ main+.c 2015-12-29 03:18:59.896820046 +0200
> @@ -512,6 +512,7 @@
> * Set up the the initial canary ASAP:
> */
> boot_init_stack_canary();
> + pr_notice("%s", linux_banner);
>
> cgroup_init_early();
>
> @@ -524,7 +525,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>
>
>
> Signed-off-by: Alexandru Goia <alexandru.goia@xxxxxxxxxx>--
I like the patch. Could you make it a proper kernel patch, please?
thanks,
--
~Randy
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/