Subject: Re: Split of syscall code (please comment)
To: None <email@example.com>
From: Jaromír Dolecek <firstname.lastname@example.org>
Date: 11/28/2000 11:35:41
Jason R Thorpe wrote:
> > I don't think copying would be all that bad in this situation. While it
> > would make sense for the BSD systems to share, I don't see the gain in
> > trying to force Linux emulation to share the same code. It is not a large
> > or frequently updated section of code and there are a number of
> > differences.
> ...and splitting it out would make all the code paths faster, too.
Not really. The extra bits are added only as needed for particular
compat syscall, i.e. there is no slowdown for "normal" syscall(),
and compat syscall() uses all the bits unconditionally, so there
is no slowdown there as well.
Jaromir Dolecek <jdolecek@NetBSD.org> http://www.ics.muni.cz/~dolecek/
@@@@ Wanna a real operating system ? Go and get NetBSD, damn! @@@@