async: make async_synchronize_full() more serializing
authorArjan van de Ven <arjan@linux.intel.com>
Thu, 8 Jan 2009 20:35:11 +0000 (12:35 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 8 Jan 2009 20:58:09 +0000 (12:58 -0800)
commit33b04b9308959af7febc1c111c766fa3fd8b1934
tree3438b08d90973cee03f8e37e41c93c774aad5c85
parent85da1fb545e5fe51c35e0576f71780cc557f4277
async: make async_synchronize_full() more serializing

turns out that there are real problems with allowing async
tasks that are scheduled from async tasks to run after
the async_synchronize_full() returns.

This patch makes the _full more strict and a complete
synchronization. Later I might need to add back a lighter
form of synchronization for other uses.. but not right now.

Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/async.c