Re: [patch] dynamic char and block devices

Jeff Garzik (jgarzik@pobox.com)
Wed, 13 Oct 1999 17:00:41 -0400


Richard Gooch wrote:
>
> Jeff Garzik writes:
> > The attached patch against 2.3.21 updates fs/devices.c to be dynamic,
> > instead of using two static arrays indexed by major number.
>
> Oh, my! So now we have a list search on every device open.

Are you saying that blkdev_open/chrdev_open is a critical kernel path
that must be performance-optimized? I did not think so, but I can
always be wrong. :)

Since it looks doubtful that devfs will get applied anytime soon, do you
have an alternate solution to suggest?

Regards,

Jeff

-- 
Custom driver development	|    Never worry about theory as long
Open source programming		|    as the machinery does what it's
				|    supposed to do.  -- R. A. Heinlein

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/