]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbc5d4201340708b479a918b3ba7a99cd04b827b2
treee00739a549bd68afeff0685cb9998834b5eca877
parente5b4c7540e94188d7df407ae2ed597e4e462f8c6
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