Date: Mon, 29 Jan 2001 10:33:13 -0800 (PST) From: Matt Dillon <dillon@earth.backplane.com> To: mouss <usebsd@free.fr> Cc: "Jacques A. Vidrine" <n@nectar.com>, Garance A Drosihn <drosih@rpi.edu>, Luigi Rizzo <rizzo@aciri.org>, hackers@FreeBSD.ORG, wollman@khavrinen.lcs.mit.edu Subject: Re: [kernel patch] fcntl(...) to close many descriptors Message-ID: <200101291833.f0TIXDF67092@earth.backplane.com> References: <200101290303.f0T33qg60603@earth.backplane.com> <200101281837.f0SIbGI24332@iguana.aciri.org> <200101290303.f0T33qg60603@earth.backplane.com> <p05010400b69ac2c32903@[128.113.24.47]> <4.3.0.20010129145823.023dfeb0@pop.free.fr> <20010129081455.B2390@hamlet.nectar.com> <4.3.0.20010129191139.064648d0@pop.free.fr>
next in thread | previous in thread | raw e-mail | index | archive | help
:true, but if the same idea gets adopted by those many OSes, then it's a benefit
:for them all. just how PAM came: it was non-portabble before adoption!
:
It doesn't solve anything. Besides, there is no such thing as a
perfect hash ... at least not one that has a small enough index range
to be useful in a table lookup. And, again, no real reason or need
to do such a thing. The kernel syscall is hardwired because it is
the defining interface between userland and kernelland, and hardwiring
it gives us the best, longest term stability in regards to portability.
We don't need to pollute it with fancy algorithms that we may decide
we have to 'adjust' every year or two. One of the reasons why binary
compatibility works so well over many years is the simplicity of API.
-Matt
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200101291833.f0TIXDF67092>
