Date: Fri, 27 May 2005 12:02:35 +0000 (UTC) From: Gleb Smirnoff <glebius@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/netgraph ng_device.c Message-ID: <200505271202.j4RC2Zn9075147@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
glebius 2005-05-27 12:02:35 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_5)
sys/netgraph ng_device.c
Log:
MFC:
o Use subr_unit allocator. This simplifies code much:
- Remove get_free_unit().
- Remove SLIST of nodes.
- Remove global mutex.
o Increase NGD_MAX to 999.
o Move ngd_mod_event() up to netgraph methods.
Revision Changes Path
1.11.2.6 +33 -74 src/sys/netgraph/ng_device.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200505271202.j4RC2Zn9075147>
