Re: [PATCH v2] printk: Improve memory usage logging during boot
From: Isaac Manjarres
Date: Wed Oct 16 2024 - 12:38:54 EST
On Wed, Oct 16, 2024 at 12:24:35PM +0200, Petr Mladek wrote:
> I am sorry for the delay and thanks for the reminder. Last weeks were
> a bit hectic...
>
> Anyway, I have just comitted the patch into printk/linux.git,
> branch for-6.13.
>
> Note:
>
> I have updated the sample messages in the commit message as suggested
> earlier.
>
> Also I double checked the patch and simplified the comment
> in the following hunk. The original one was a bit cryptic.
>
> @@ -1185,20 +1196,25 @@ void __init setup_log_buf(int early)
> if (!early && !new_log_buf_len)
> log_buf_add_cpu();
>
> - if (!new_log_buf_len)
> + if (!new_log_buf_len) {
> + /* Show the memory stats only once. */
> + if (!early)
> + goto out;
> +
> return;
> + }
>
> , see also
> https://git.kernel.org/pub/scm/linux/kernel/git/printk/linux.git/commit/?h=for-6.13&id=a961ec4e2860af4933e8c1763fe4f038c2d6ac80
>
> Best Regards,
> Petr
No worries! I completely understand. Thank you for merging the patch
into your tree, and for cleaning up the commit message/comment.
Thanks,
Isaac