Re: Using TASK_SIZE for kernel threads

2017-02-27 Thread Martin Schwidefsky
On Sat, 25 Feb 2017 10:19:04 -0800 Linus Torvalds wrote: > On Fri, Feb 24, 2017 at 8:15 AM, Martin Schwidefsky > wrote: > > > > Now I fixed this in the s390 code, the patch is queued and will be > > included in next weeks please-pull. But I am wondering about the use > > of TASK_SIZE in kernel t

Re: Using TASK_SIZE for kernel threads

2017-02-25 Thread Linus Torvalds
On Fri, Feb 24, 2017 at 8:15 AM, Martin Schwidefsky wrote: > > Now I fixed this in the s390 code, the patch is queued and will be > included in next weeks please-pull. But I am wondering about the use > of TASK_SIZE in kernel threads. For x86 copy_mount_options works > because the size calculation

Using TASK_SIZE for kernel threads

2017-02-24 Thread Martin Schwidefsky
Hello, this week we had some fun with kernel 4.10 on s390. Carsten found that the kernel kept crashing reproducibly on his system. Not on mine or any other system, just his. The kdevtmpfs kernel thread crashed in __queued_work as it tried to terminate. The devtmpfsd function got an error on the s