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
