]> git.karo-electronics.de Git - linux-beck.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)
commit7ffb8e317bae03b8ee5bdcec93dc3723be945e9b
treeb71bd2765fbfde1e39e37e2cba6e6849692341e1
parent0bf676d1fd5144e66ac06939fa3c7c12086c3b18
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