DragonFly commits List (threaded) for 2008-09
DragonFly BSD
DragonFly commits List (threaded) for 2008-09
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: cvs commit: src/sys/bus/usb usb_ethersubr.c src/sys/net bpf.c if.c netisr.c netisr.h netmsg.h src/sys/net/ppp if_ppp.c src/sys/netbt bt_proto.c src/sys/netgraph/netgraph ng_base.c src/sys/netgraph7 ng_base.c src/sys/netinet if_ether.c ip_demux.c ip_input.c ...


From: YONETANI Tomokazu <qhwt+dfly@xxxxxxxxxx>
Date: Wed, 24 Sep 2008 11:51:19 +0900

On Tue, Sep 23, 2008 at 04:28:50AM -0700, Sepherosa Ziehau wrote:
>   Log:
>   Add following three network protocol threads running mode:
>   1) BGL (default)
>   2) Adaptive BGL.  Protocol threads run without BGL by default.  BGL will be
>      held if the received msg does not have MSGF_MPSAFE turned on the ms_flags
>      field
>   3) No BGL (experimental)
>   
>   Log:
>   On ethernet input path:
>   - Put netgraph(4), carp(4) and IPX (mainly ef_inputp) under BGL explicitly
>   - Set MSGF_MPSAFE on the msg sent to the network protocols threads

The following files involved in above commits need `#include <sys/lock.h>'
for a UP kernel to build correctly.

sys/net/if_ethersubr.c
sys/netinet/ip_input.c



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]