deal with task_work callbacks adding more work
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 27 Jun 2012 07:33:29 +0000 (11:33 +0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 22 Jul 2012 19:57:57 +0000 (23:57 +0400)
commita2d4c71d1559426155e5da8db3265bfa0d8d398d
treee00739a549bd68afeff0685cb9998834b5eca877
parented3e694d78cc75fa79bf29698631b146fd27aa35
deal with task_work callbacks adding more work

It doesn't matter on normal return to userland path (we'll recheck the
NOTIFY_RESUME flag anyway), but in case of exit_task_work() we'll
need that as soon as we get callbacks capable of triggering more
task_work_add().

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
kernel/task_work.c