]> git.baikalelectronics.ru Git - kernel.git/commit
audit: we don't need to __set_current_state(TASK_RUNNING)
authorPaul Moore <paul@paul-moore.com>
Mon, 4 Apr 2016 20:44:02 +0000 (16:44 -0400)
committerPaul Moore <paul@paul-moore.com>
Mon, 4 Apr 2016 20:44:02 +0000 (16:44 -0400)
commit5ffbc92a997ef3143cb1aae9364314f91fed305f
treeb71bd2765fbfde1e39e37e2cba6e6849692341e1
parent4cd5b6feeb3fc29a0e85a3df16d072d0d26d7e1d
audit: we don't need to __set_current_state(TASK_RUNNING)

Remove the calls to __set_current_state() to mark the task as running
and do some related cleanup in wait_for_auditd() to limit the amount
of work we do when we aren't going to reschedule the current task.

Signed-off-by: Paul Moore <paul@paul-moore.com>
kernel/audit.c