sema replacement

Matthew Dillon dillon at apollo.backplane.com
Sat Feb 12 12:08:10 PST 2005


:
:It looks like the code queues up a request and then uses sema_wait() to 
:sleep until the request either completes or fails. In both cases, the 
:code calls sema_post(). Maybe this is a better fit for messaging - i.e. 
:sema_wait would map to lwkt_waitport() and sema_post would map to 
:lwkt_sendmsg()?
:
:-- 
:Chuck Tuffli
:Agilent Technologies

    That might require changing the whole request infrastructure to be
    LWKT message based, which you might not want to do.

					-Matt
					Matthew Dillon 
					<dillon at xxxxxxxxxxxxx>





More information about the Kernel mailing list