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 ...

YONETANI Tomokazu qhwt+dfly at les.ath.cx
Tue Sep 23 19:52:00 PDT 2008


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





More information about the Commits mailing list