On Mon, Nov 16, 2026 at 03:05:15PM -0500, Sasha Levin wrote:
> "Describe your changes" already asks for the user-visible impact of a
> change, but changelogs for fixes still tend to say what the code does,
> why that's wrong and what the patch changes, and stop there. Whoever
> has to decide if the fix needs backporting is left to work out what
> the bug does to a running system.
> 
> Say what that means for a bug fix, in two parts. For users who aren't
> looking for the bug: what a normal workload is likely to run into, and
> separately the worst case and what it takes to get there. For someone
> triggering it on purpose: whether an unprivileged user could do it and
> what that would take, since a race that no real workload loses can
> still be won by a program written to win it. Give the paragraph a
> label so people can be pointed at it.
> 
> Coding assistants are told to commit a fix with a message that
> describes the problem and the solution. Add the user-visible impact to
> that list and point them at the section.
> 
> Suggested-by: Andrew Morton <[email protected]>
> Link: 
> https://lore.kernel.org/r/[email protected]
> Signed-off-by: Sasha Levin <[email protected]>
> Acked-by: Andrew Morton <[email protected]>
> Reviewed-by: Willy Tarreau <[email protected]>
> ---
> Changes since v1:
> - Split the bug-fix paragraph into users who aren't looking for the bug
>   and someone triggering it on purpose (Andrew, Willy).
> 
> v1: https://lore.kernel.org/r/[email protected]
> 
>  Documentation/process/coding-assistants.rst  |  6 +++--
>  Documentation/process/submitting-patches.rst | 23 ++++++++++++++++++++
>  2 files changed, 27 insertions(+), 2 deletions(-)

Sasha,

Since you're already making changes in that area, could you add a sentence
asking reporters to provide the full dmesg stack trace?

Many AI-generated patches reduce it to one or two lines, which gives no
indication of whether the report is genuine or fabricated. Early in the AI
era, I saw some completely fabricated stack traces.

Thanks

Reply via email to