cvs commit: src/sys/kern lwkt_msgport.c src/sys/sys msgport.h msgport2.h
Matthew Dillon
dillon at crater.dragonflybsd.org
Wed Apr 14 17:50:31 PDT 2004
dillon 2004/04/14 17:50:05 PDT
DragonFly src repository
Modified files:
sys/kern lwkt_msgport.c
sys/sys msgport.h msgport2.h
Log:
Implement lwkt_abortmsg() support. This function chases down a message and
marks it MSGF_ABORTED, requeuing it to its target port for abort reprocessing.
The chasedown may run through multiple message forwardings and even chase the
message all the way back to the reply port (in which case the abort becomes a
NOP). The queueing of a replied message is delayed if there is an abort
chasing it down until the abort chasedown has caught up to the message.
Support MSGF_PCATCH in the default waitport function. If a signal is pending,
lwkt_default_waitport() (the default assigned to mp_waitport) will request
a message abort. Note that we still have to wait for the message to be
returned after requesting a message abort.
Also do some minor performance tuning and adjust or move some of the inlines
from msgport2.h into lwkt_msgport.c.
Revision Changes Path
1.19 +230 -61 src/sys/kern/lwkt_msgport.c
1.16 +27 -4 src/sys/sys/msgport.h
1.8 +9 -16 src/sys/sys/msgport2.h
http://www.dragonflybsd.org/cvsweb/src/sys/kern/lwkt_msgport.c.diff?r1=1.18&r2=1.19&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/sys/msgport.h.diff?r1=1.15&r2=1.16&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/sys/msgport2.h.diff?r1=1.7&r2=1.8&f=h
More information about the Commits
mailing list