RE: [PATCH v3] x86/mce: Set PG_hwpoison page flag to avoid the capture kernel panic

From: Luck, Tony
Date: Tue Oct 17 2023 - 13:35:11 EST


> Tony, your commit message made me realize how verbose my commit message
> is. May I simplify the whole commit message as following for next version?
>
> ---start---
> Memory errors don't happen very often, especially the severity is fatal.
> However, in large-scale scenarios, such as data centers, it might still
> happen. When there is a fatal machine check Linux calls mce_panic()
> without checking to see if bad data at some memory address
> was reported in the machine check banks.
>
> If kexec is enabled, check for memory errors and mark the page as
> poisoned so that the kexec'ed kernel can avoid accessing the page.
> ---end---
>
> It already covers the scenario, root cause and solution, and focuses on
> kernel. No need to talk something else.

Yes, you can use that. Being concise (but keeping the important details)
is the art of a good commit message.

-Tony