summaryrefslogtreecommitdiff
path: root/lib/libpthread/uthread/uthread_kill.c
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2007-01-28 16:38:49 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2007-01-28 16:38:49 +0000
commitdc5a9da956d163529955fb06761571452b712da4 (patch)
tree094c1939aad6af073e58d765f29aa5ec1cc6190f /lib/libpthread/uthread/uthread_kill.c
parent55b8488cba75efc02fbf27894891e6597496e36b (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/libpthread/uthread/uthread_kill.c')
0 files changed, 0 insertions, 0 deletions