Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Jun 2003 23:36:11 +0200
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        John Baldwin <jhb@freebsd.org>
Cc:        "M. Warner Losh" <imp@bsdimp.com>
Subject:   Re: VFS: C99 sparse format for struct vfsops 
Message-ID:  <26877.1054676171@critter.freebsd.dk>
In-Reply-To: Your message of "Tue, 03 Jun 2003 17:33:00 EDT." <XFMail.20030603173300.jhb@FreeBSD.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <XFMail.20030603173300.jhb@FreeBSD.org>, John Baldwin writes:
>
>On 02-Jun-2003 Paul Richards wrote:
>> On Mon, 2003-06-02 at 21:04, Paul Richards wrote:
>> 
>>> 
>>> The tradeoff with using an index into an array is that there'd be a
>>> heavy penalty for growing the array if an extra method didn't fit, but
>>> that would be exceptionally rare and with our present usage we'd never
>>> have that happen.
>> 
>> I'm not sure this is actually a problem after all since the Interface
>> doesn't change and therefore we know a-priori how many methods there can
>> be so we can pre-allocate an array.

I thought the point in KOBJ was that it was extensible so you could
KLD load stuff which added more methods ?

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?26877.1054676171>