diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2007-01-28 16:38:49 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2007-01-28 16:38:49 +0000 |
commit | dc5a9da956d163529955fb06761571452b712da4 (patch) | |
tree | 094c1939aad6af073e58d765f29aa5ec1cc6190f /lib | |
parent | 55b8488cba75efc02fbf27894891e6597496e36b (diff) |
optimize m68k writeback():
- it can really only be invoked from trap(), not from other userret() callers,
so it is safe to hardcode its docachepush parameter to 1.
- use pmap_kenter_pa()/pmap_kremove() for the temporary mapping instead of
pmap_enter()/pmap_remove().
optimize m68k userret():
- define PROC_PC for m68k systems.
- only check want_resched when processing T_ASTFLT traps.
- provide two version of userret(), one which will also invoke writeback()
on 68040 if required, which is only invoked from trap(), and regular
userret(). This speeds up system call returns.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions