On Wed, Jan 29, 2025 at 04:02:26PM +0000, Maciej W. Rozycki wrote: > On Wed, 29 Jan 2025, Ivan Kokshaysky wrote: > > > Somehow we got away with it until recently, when we ended up with > > a stack corruption in kernel/smp.c:smp_call_function_single() due to > > its use of 32-byte aligned local data and the compiler doing clever > > things allocating it on the stack. > > Thank you for doing this work. > > I'll review/verify your changes by hand and push them through GCC and > glibc regression testing, which should hopefully pick any fallout without > having it buried among any intermittent failures, and report back. Thanks! > However, would you please cc <stable@xxxxxxxxxx> with your submission, v2 > presumably, so as to have these changes backported? Sure. As I need to deal with bpf build failure, v2 is inevitable. > The thing is I find it quite a grave bug being fixed here, which has been > there for decades and triggering occasionally[1], and it might be the only > way for users of certain older systems to get a kernel with the fix > already applied. As you may have been aware non-BWX Alpha support has > been removed and while I'm working on bringing it back, it will likely be > missing support for specific models such as Jensen there will be no kernel > developer to look after. So getting an LTS kernel might be the only way > to get a stable system for some people. Yes, I know about your work on non-BWX Alpha and highly appreciate it. > References: > > [1] "System fails to boot when CONFIG_SMP=y", > <https://bugzilla.kernel.org/show_bug.cgi?id=213143> > > Maciej Ivan.