]> git.baikalelectronics.ru Git - kernel.git/commit
do_wait() wakeup optimization: shift security_task_wait() from eligible_child() to...
authorOleg Nesterov <oleg@redhat.com>
Wed, 23 Sep 2009 22:56:45 +0000 (15:56 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 24 Sep 2009 14:20:59 +0000 (07:20 -0700)
commite839d013e85de7a4b04be4de6ad17d872d696c70
treef53bbed32d44a190df42cddc9f3635371272e329
parent3b924a2b298c7f5411205159835d60856654877b
do_wait() wakeup optimization: shift security_task_wait() from eligible_child() to wait_consider_task()

Preparation, no functional changes.

eligible_child() has a single caller, wait_consider_task(). We can move
security_task_wait() out from eligible_child(), this allows us to use it
for filtered wake_up().

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: Roland McGrath <roland@redhat.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Ratan Nalumasu <rnalumasu@gmail.com>
Cc: Vitaly Mayatskikh <vmayatsk@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/exit.c