Re: [PATCH] kernel:async function call:introduceasync_run_inatomic(v2)
From: Arjan van de Ven
Date: Sun May 17 2009 - 17:06:44 EST
On Thu, 14 May 2009 05:19:39 +0200
Frederic Weisbecker <fweisbec@xxxxxxxxx> wrote:
> But I wonder if async_run_inatomic() is really matching any common
> pattern inside the kernel.
> It seems to me rare to never need waiting for an async job completion.
there are some very good reasons to have the option to wait for all;
module unloading comes to mind for example.
I'd not like it to automatically punt all async "inatomic" work to a
separate space; that should be an option for the caller.
If the work is not going to take long, it's actually GOOD that you can
globally synchronize for it...
--
Arjan van de Ven Intel Open Source Technology Centre
For development, discussion and tips for power savings,
visit http://www.lesswatts.org
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/