All of lore.kernel.org
 help / color / mirror / Atom feed
From: Willy Tarreau <w@1wt.eu>
To: Arjan van de Ven <arjan@infradead.org>
Cc: torvalds@linux-foundation.org, linux-kernel@vger.kernel.org,
	mingo@elte.hu
Subject: Re: [PATCH] fastboot: Introduce an asynchronous function call mechanism
Date: Mon, 13 Oct 2008 05:44:14 +0200	[thread overview]
Message-ID: <20081013034414.GN24654@1wt.eu> (raw)
In-Reply-To: <20081012194427.2e21c22e@infradead.org>

Hi Arjan,

On Sun, Oct 12, 2008 at 07:44:27PM -0400, Arjan van de Ven wrote:
> +#define ASYNC_POOL_SCSI	 0	/* for everything using the scsi device space */
> +#define ASYNC_POOL_IDE	 1	/* for everything using the ide device space */
> +#define ASYNC_POOL_USB	 2	/* for everything using the usb device space */
> +#define ASYNC_POOL_MISC	 4	/* for everything using the misc device space */
> +#define ASYNC_POOL_SOUND 5	/* for everything using the ALSA device space */
> +#define ASYNC_POOL_AGP   6	/* for everything using the AGP device space */
> +#define ASYNC_MAX_POOL	 7

I suspect this list will grow with more general adoption. Wouldn't it be
better to use an enum above ?

Willy


  parent reply	other threads:[~2008-10-13  3:45 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-12 23:44 [PATCH] fastboot: Introduce an asynchronous function call mechanism Arjan van de Ven
2008-10-12 23:45 ` async function call test users Arjan van de Ven
2008-10-13  7:22   ` Ingo Molnar
2008-10-13  3:44 ` Willy Tarreau [this message]
2008-10-13  7:15 ` [PATCH] fastboot: Introduce an asynchronous function call mechanism Pekka Enberg
2008-10-13 14:45   ` Arjan van de Ven
2008-10-15  8:41 ` Andrew Morton
2008-10-15 10:37   ` Evgeniy Polyakov
2008-10-15 11:52   ` Arjan van de Ven
2008-10-15 12:30     ` Alan Cox
2008-10-15 16:59     ` Andrew Morton
2008-10-15 17:52       ` Alexey Dobriyan
2008-10-15 17:55         ` Roland Dreier
2008-10-15 18:09           ` Alexey Dobriyan
2008-10-15 18:09         ` Andrew Morton
2008-10-15 20:23       ` Arjan van de Ven
2008-10-15 21:18         ` Evgeniy Polyakov

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=20081013034414.GN24654@1wt.eu \
    --to=w@1wt.eu \
    --cc=arjan@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=torvalds@linux-foundation.org \
    /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.