From owner-freebsd-hackers Mon Jan 29 10:34:23 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from earth.backplane.com (earth-nat-cw.backplane.com [208.161.114.67]) by hub.freebsd.org (Postfix) with ESMTP id 211EE37B6C8 for ; Mon, 29 Jan 2001 10:33:54 -0800 (PST) Received: (from dillon@localhost) by earth.backplane.com (8.11.1/8.9.3) id f0TIXDF67092; Mon, 29 Jan 2001 10:33:13 -0800 (PST) (envelope-from dillon) Date: Mon, 29 Jan 2001 10:33:13 -0800 (PST) From: Matt Dillon Message-Id: <200101291833.f0TIXDF67092@earth.backplane.com> To: mouss Cc: "Jacques A. Vidrine" , Garance A Drosihn , Luigi Rizzo , hackers@FreeBSD.ORG, wollman@khavrinen.lcs.mit.edu Subject: Re: [kernel patch] fcntl(...) to close many descriptors References: <200101290303.f0T33qg60603@earth.backplane.com> <200101281837.f0SIbGI24332@iguana.aciri.org> <200101290303.f0T33qg60603@earth.backplane.com> <4.3.0.20010129145823.023dfeb0@pop.free.fr> <20010129081455.B2390@hamlet.nectar.com> <4.3.0.20010129191139.064648d0@pop.free.fr> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG :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