[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20090517135827.502fb4c3@infradead.org>
Date: Sun, 17 May 2009 13:58:27 -0700
From: Arjan van de Ven <arjan@...radead.org>
To: tom.leiming@...il.com
Cc: linux-kernel@...r.kernel.org, akpm@...ux-foundation.org,
Ming Lei <tom.leiming@...il.com>
Subject: Re: [PATCH] kernel:async function call:introduce async_run
On Wed, 13 May 2009 08:33:49 +0800
tom.leiming@...il.com wrote:
> From: Ming Lei <tom.leiming@...il.com>
>
> In fact, some async function call does not need to check, async_run
> is right for this kind of function call. Also, async_run is very
> suitable to used to start a thread in atomic context to do somthing,
> for now there is no such kind of kernel api, eg. kthread_run
> can not be started in atomic context.
I don't think it's worth complicating the cookie allocation;
I don't assume that what you're scheduling is going to take a really
long time...
if it does it's better to make a private domain 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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists