Date: Thu, 24 Apr 1997 17:03:00 -0700 From: David Greenman <dg@root.com> To: Don Lewis <Don.Lewis@tsc.tdk.com> Cc: fs@freebsd.org Subject: Re: the namei cache... Message-ID: <199704250003.RAA11911@root.com> In-Reply-To: Your message of "Thu, 24 Apr 1997 16:56:18 PDT." <199704242356.QAA12777@salsa.gv.tsc.tdk.com>
next in thread | previous in thread | raw e-mail | index | archive | help
>On Apr 24, 8:24pm, Narvi wrote: >} Subject: Re: the namei cache... >} >} How about not adding byte values but say, long values? We may have to keep >} upto 3 bytes of additional space (avoiding overuns) but get it done in >} about 1/4th of the additions. > >The additions are pretty cheap. The problem with adding bigger chunks is >that the names aren't word aligned, so for each set of 4 bytes, you have >to read two words, extract the desired bytes, and concatenate the results. Actually, you could read/add in 16bit words since the component name is null terminated...or if the trailing space is zeroed up to a longword boundry, you could add in longwords. -DG David Greenman Core-team/Principal Architect, The FreeBSD Project
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199704250003.RAA11911>