From: Arjan van de Ven <arjan@infradead.org>
To: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Cornelia Huck <cornelia.huck@de.ibm.com>,
tom.leiming@gmail.com, linux-kernel@vger.kernel.org,
akpm@linux-foundation.org
Subject: Re: [PATCH] kernel:async function call:introduce async_run_inatomic(v2)
Date: Sun, 17 May 2009 14:03:58 -0700 [thread overview]
Message-ID: <20090517140358.751e12b7@infradead.org> (raw)
In-Reply-To: <20090514031937.GA5476@nowhere>
On Thu, 14 May 2009 05:19:39 +0200
Frederic Weisbecker <fweisbec@gmail.com> 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
next prev parent reply other threads:[~2009-05-17 21:06 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-13 15:51 [PATCH] kernel:async function call:introduce async_run_inatomic(v2) tom.leiming
2009-05-13 17:11 ` Cornelia Huck
2009-05-14 3:19 ` Frederic Weisbecker
2009-05-17 21:03 ` Arjan van de Ven [this message]
2009-05-18 11:07 ` Cornelia Huck
2009-05-14 4:36 ` Ming Lei
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090517140358.751e12b7@infradead.org \
--to=arjan@infradead.org \
--cc=akpm@linux-foundation.org \
--cc=cornelia.huck@de.ibm.com \
--cc=fweisbec@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=tom.leiming@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.