]> git.baikalelectronics.ru Git - kernel.git/commit
task_struct cleanup: move binfmt field to mm_struct
authorHiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Wed, 23 Sep 2009 22:57:41 +0000 (15:57 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 24 Sep 2009 14:21:05 +0000 (07:21 -0700)
commit87d104cc49896bd9280d366cda01bbc4196093c7
treeff2542903572a546ac59e92f295e9a18e718afa0
parentdc61a09a4ca7749bf08b29543da012cc5d31de19
task_struct cleanup: move binfmt field to mm_struct

Because the binfmt is not different between threads in the same process,
it can be moved from task_struct to mm_struct.  And binfmt moudle is
handled per mm_struct instead of task_struct.

Signed-off-by: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Acked-by: Oleg Nesterov <oleg@redhat.com>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Acked-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/exec.c
include/linux/mm_types.h
include/linux/sched.h
kernel/exit.c
kernel/fork.c