Re: [PATCH 1/3] sparc: Synchronize user stack on fork and clone
From: Michael Karcher
Date: Sat Jan 17 2026 - 07:18:29 EST
Am 17.01.2026 um 07:57 schrieb John Paul Adrian Glaubitz:
On Fri, 2026-01-16 at 16:30 +0100, Ludwig Rydberg wrote:
From: Andreas Larsson <andreas@xxxxxxxxxxx>I have tested the patch with the following test program written by Michael Karcher
Flush all uncommitted user windows before calling the generic syscall
handlers for clone, fork, and vfork.
[...]
Signed-off-by: Andreas Larsson<andreas@xxxxxxxxxxx>
Signed-off-by: Ludwig Rydberg<ludwig.rydberg@xxxxxxxxxxx>
on a Sun Netra 240 running kernel version 6.19-rc5 by applying the patch on top:
[...]
I can therefore confirm that this patch fixes the bug.
Tested-by: John Paul Adrian Glaubitz <glaubitz@xxxxxxxxxxxxxxxxxxx>
Thanks to both Andreas Larsson and Ludwig Rydberg for fixing this long-standing
issue, and thanks to Adrian Glaubitz for verifying that the fix works as intended!
It is great to see that there still are people around that improve SPARC support
in the Linux kernel. Keep up the good work.
Kind regards,
Michael Karcher