Re: [RFC] change of ->bd_op->open() semantics

Linus Torvalds (torvalds@transmeta.com)
Fri, 24 May 2002 13:25:35 -0700 (PDT)


On Fri, 24 May 2002, Alexander Viro wrote:
>
> It has an additional benefit of killing the array of default
> queues on the same pass - a thing we will need to do sooner or later
> anyway.

I'd like to see this, because we want to make the "find the right queue" a
much more expensive operation (no longer some fairly simple mapping from
major number - a more dynamic and general "register this queue for minors
xxxx-yyyy of major zzz").

Doing it just once at open() time allows for that to happen without any
performance downside.

Linus

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