git: msgport: Add message put done receipt support
Sepherosa Ziehau
sephe at crater.dragonflybsd.org
Sun Aug 10 05:36:54 PDT 2014
commit ac6c441c1eb77d0c183254c94adaa31dfcdbed55
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date: Sun Aug 10 19:42:58 2014 +0800
msgport: Add message put done receipt support
The receipt callback is called immediately after the message is put on to
the target msgport. Complex operation is NOT allowed in this callback,
since it could be called w/ spinlock for spin msgports.
It will be used to fix the race between the upper half (socket code)
and the so_port switching.
Summary of changes:
sys/kern/lwkt_msgport.c | 9 +++++++++
sys/sys/msgport.h | 3 ++-
sys/sys/msgport2.h | 8 ++++++++
3 files changed, 19 insertions(+), 1 deletion(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ac6c441c1eb77d0c183254c94adaa31dfcdbed55
--
DragonFly BSD source repository
More information about the Commits
mailing list