On Mon, Mar 06, 2023 at 12:55:33AM +0000, Al Viro wrote: > Setting and ->psw.addr in childregs of kernel thread is a rudiment of > the old kernel_thread()/kernel_execve() implementation. Mainline hadn't > been using them since 2012. > > And clarify the assigments to frame->sf.gprs - the array stores grp6..gpr15 > values to be set by __switch_to(), so frame->sf.gprs[5] actually affects > grp11, etc. Better spell that as frame->sf.gprs[11 - 6]... > > Signed-off-by: Al Viro <viro@xxxxxxxxxxxxxxxxxx> > --- > diff --git a/arch/s390/kernel/process.c b/arch/s390/kernel/process.c > index 67df64ef4839..87ca3a727604 100644 > --- a/arch/s390/kernel/process.c > +++ b/arch/s390/kernel/process.c Applied, thanks!