Reducing system calls overhead
Paul Vixie
vixie at decwrl.dec.com
Fri Aug 26 09:56:45 AEST 1988
In article <21606 at ccicpg.UUCP> goshen at ccicpg.UUCP (Shmuel Goshen) writes:
# [...] This quick interface will run
# in kernel mode, thus enabling access to kernel data structures, but
# will not include operations like saving the context (setjmp), signal
# delivery and allowing rescheduling upon return from the call.
# The net effect is almost as having the system call run in user mode.
It depends on the CPU and MMU. If you're changing to supervisor mode,
chances are you're switching memory maps / page tables, which on many
CPU/MMU combos means: kiss your cache goodbye (sorry :-)).
--
Paul Vixie
Digital Equipment Corporation Work: vixie at dec.com Play: paul at vixie.UUCP
Western Research Laboratory uunet!decwrl!vixie uunet!vixie!paul
Palo Alto, California, USA +1 415 853 6600 +1 415 864 7013
More information about the Comp.unix.wizards
mailing list