diff options
| author | Oleg Nesterov <[email protected]> | 2009-09-23 22:56:45 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2009-09-24 14:20:59 +0000 |
| commit | a2322e1d272938d192d8c24cdacf57c0c7a2683f (patch) | |
| tree | f53bbed32d44a190df42cddc9f3635371272e329 /security/selinux/hooks.c | |
| parent | ptrace: __ptrace_detach: do __wake_up_parent() if we reap the tracee (diff) | |
| download | kernel-a2322e1d272938d192d8c24cdacf57c0c7a2683f.tar.gz kernel-a2322e1d272938d192d8c24cdacf57c0c7a2683f.zip | |
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 <[email protected]>
Acked-by: Roland McGrath <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Ratan Nalumasu <[email protected]>
Cc: Vitaly Mayatskikh <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions
