commit | badb8bb983e9cf5b7a872e0a4f6ebeac2b1ce133 | [log] [tgz] |
---|---|---|
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | Tue May 10 17:13:43 2011 +0200 |
committer | Martin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com> | Tue May 10 17:13:43 2011 +0200 |
tree | 20a5a2f01fdb6304e23d51663e0f926d0c25ac11 | |
parent | 3d8dcb3c76bb2930798f61675c33cce8945ab988 [diff] |
[S390] fix alloc_pgste check in init_new_context Processes started with kernel_execve from a kernel thread will have current->mm==NULL. Reading current->mm->context.alloc_pgste will read a more or less random bit from lowcore in this case. If the bit turns out to be set the whole process tree started this way will allocate page table extensions although they have no need for it. Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>