All of lore.kernel.org
 help / color / mirror / Atom feed
From: Oliver Xymoron <oxymoron@waste.org>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Linus Torvalds <torvalds@transmeta.com>,
	Andrew Morton <akpm@digeo.com>, Greg KH <greg@kroah.com>,
	hch@infradead.org, Andries.Brouwer@cwi.nl,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] register_blkdev
Date: Sun, 9 Mar 2003 22:46:17 -0600	[thread overview]
Message-ID: <20030310044617.GF910@waste.org> (raw)
In-Reply-To: <1047136177.25932.25.camel@irongate.swansea.linux.org.uk>

On Sat, Mar 08, 2003 at 03:09:37PM +0000, Alan Cox wrote:
> On Sat, 2003-03-08 at 01:13, Linus Torvalds wrote:
> > On Fri, 7 Mar 2003, Andrew Morton wrote:
> > > 
> > > Some time back Linus expressed a preference for a 2^20 major / 2^12 minor split.
> > 
> > Other way around. 12 bits for major, 20 bits for minor.
> > 
> > Minor numbers tend to get used up more quickly, as shown by the current 
> > state of affairs, and also as trivially shown by things like pty-like 
> > virtual devices that pretty much scale arbitrarily with memory and users.
> 
> 20:12 is easier for the current behaviour. 12:20 with the ability to hand out
> sections of space has great potential for lumping things like "disks", 
> "serial ports" and so on together in more logical ways. 12:20 also makes the
> compatibility logic easier since all of the legacy space falls in "major 0"
> which becomes the remangler.
> 
> Is there any reason for not using CIDR like schemes as Al Viro proposed a long
> time back (I think it was Al anyway). That also sorts out the auditing problem

I think it was actually me, arguing with Viro. I was building a device
number registration layer on top of the new resource tree structure at
the time (now 3 years ago!). And in retrospect, I think 32:32
internally with an 8:8 legacy mangler is probably the sanest way to
go.

-- 
 "Love the dolphins," she advised him. "Write by W.A.S.T.E.." 

  parent reply	other threads:[~2003-03-10  4:36 UTC|newest]

Thread overview: 63+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-07 19:32 [PATCH] register_blkdev Andries.Brouwer
2003-03-07 19:36 ` Christoph Hellwig
2003-03-07 20:30   ` Andrew Morton
2003-03-07 22:12     ` Greg KH
2003-03-07 22:33       ` Andrew Morton
2003-03-07 23:45         ` Greg KH
2003-03-08  1:14           ` Alan Cox
2003-03-08  0:50             ` Greg KH
2003-03-08  1:05               ` Andrew Morton
2003-03-08  1:03                 ` Greg KH
2003-03-08  1:13                 ` Linus Torvalds
2003-03-08 15:09                   ` Alan Cox
2003-03-08 15:53                     ` Christoph Hellwig
2003-03-09  2:02                     ` Chris Wedgwood
2003-03-10  4:46                     ` Oliver Xymoron [this message]
2003-03-08 15:11               ` Alan Cox
2003-03-08 19:37                 ` Greg KH
2003-03-08 19:50                   ` Christoph Hellwig
2003-03-08 20:00                     ` Greg KH
2003-03-08 20:23                       ` Christoph Hellwig
2003-03-07 22:55       ` Joel Becker
2003-03-07 22:57         ` Christoph Hellwig
2003-03-07 23:17           ` Randy.Dunlap
2003-03-07 23:38             ` John Cherry
2003-03-07 23:36               ` Christoph Hellwig
2003-03-07 23:46                 ` Andrew Morton
2003-03-07 23:54                   ` Christoph Hellwig
2003-03-08  1:49                     ` Joel Becker
2003-03-08  1:58                       ` Greg KH
2003-03-08  2:15                         ` Joel Becker
2003-03-08  2:18                           ` Linus Torvalds
2003-03-08  2:42                             ` Joel Becker
2003-03-08 19:31                           ` Greg KH
2003-03-08 21:39                             ` Joel Becker
2003-03-08 21:59                               ` Greg KH
2003-03-08  1:04           ` Alan Cox
2003-03-09  4:32         ` Horst von Brand
2003-03-09  5:11           ` Valdis.Kletnieks
  -- strict thread matches above, loose matches on Subject: below --
2003-03-08 20:59 Andries.Brouwer
2003-03-08 21:09 ` Christoph Hellwig
2003-03-08 20:26 Andries.Brouwer
2003-03-08 20:31 ` Christoph Hellwig
2003-03-08  1:49 Andries.Brouwer
2003-03-08  0:57 Andries.Brouwer
2003-03-08  0:53 ` Greg KH
     [not found]   ` <20030308073407.A24272@infradead.org>
2003-03-08 19:29     ` Greg KH
2003-03-08 19:43       ` Christoph Hellwig
2003-03-08 21:26         ` H. Peter Anvin
2003-03-08 21:55           ` Christoph Hellwig
2003-03-08 21:41         ` Joel Becker
2003-03-08 21:52           ` Christoph Hellwig
2003-03-08 22:16             ` Joel Becker
2003-03-08 22:21               ` Christoph Hellwig
2003-03-10 17:31                 ` Joel Becker
2003-03-08 23:37             ` Alan Cox
2003-03-08 22:36               ` Linus Torvalds
2003-03-08 23:56                 ` Alan Cox
2003-03-09  5:08             ` Gerrit Huizenga
2003-03-17 19:21           ` Steven Dake
2003-03-07 19:50 Andries.Brouwer
2003-03-07 19:52 ` Christoph Hellwig
2003-03-07 18:49 Andries.Brouwer
2003-03-07 19:06 ` Christoph Hellwig

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=20030310044617.GF910@waste.org \
    --to=oxymoron@waste.org \
    --cc=Andries.Brouwer@cwi.nl \
    --cc=akpm@digeo.com \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=greg@kroah.com \
    --cc=hch@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@transmeta.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.