Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: syssrc/sys/arch/powerpc/powerpc



Chris Hopps wrote:
> The mask is efficient in time perhaps, but certainly not in space given all
> the error entries that just got added.
>
> Is the 1 compare vs. 1 mask really a big deal? Is this mask operation the
> only reason the tables need to be power of two big?

Yes. It saves couple instructions on every system call. Definitely
worth those maximum 256*sizeof(void *) of space. The tables have
to be really p-o-2 big, so that the result pointer is valid pointer
to valid syscall entry.

Jaromir
-- 
Jaromir Dolecek <jdolecek%NetBSD.org@localhost>            
http://www.NetBSD.org/
-=- We should be mindful of the potential goal, but as the tantric    -=-
-=- Buddhist masters say, ``You may notice during meditation that you -=-
-=- sometimes levitate or glow.   Do not let this distract you.''     -=-



Home | Main Index | Thread Index | Old Index