LKML Archive on
help / color / mirror / Atom feed
From: Andrew Morton <>
To: Faik Uygur <>
Subject: Re: [PATCH] use idr_get_new to allocate a bus id in drivers/i2c/i2c-core.c
Date: Sun, 16 May 2004 02:36:05 -0700	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

Faik Uygur <> wrote:
>  > Is the kernel likely to ever have so many bus IDs that we actually need
>  > this patch?  Or do you specifically want first-fit-from-zero for some
>  > reason?
>  Actually there is no special need for this. It is just what i think would
>  be the expected behaviour. There was a thread two weeks ago about this issue:
>  here is the updated patch:

Looks good to me, thanks.

fyi, the IDR implementation in -mm doesn't mangle the top eight bits of the
idr_get_new() return value, so that masking will be able to go away.

And you'll then be able to support 2^31-1 i2c adapters...

  reply	other threads:[~2004-05-16  9:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-15 22:26 Faik Uygur
2004-05-15 23:58 ` Andrew Morton
2004-05-16  9:13   ` Faik Uygur
2004-05-16  9:36     ` Andrew Morton [this message]
2004-05-19  7:07     ` Greg KH

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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \
    --subject='Re: [PATCH] use idr_get_new to allocate a bus id in drivers/i2c/i2c-core.c' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).