<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/sys/netgraph/ng_base.c, branch release/9.0.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F9.0.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F9.0.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2011-07-04T07:03:44Z</updated>
<entry>
<title>- Use refcount(9) API to manage node and hook refcounting.</title>
<updated>2011-07-04T07:03:44Z</updated>
<author>
<name>Gleb Smirnoff</name>
<email>glebius@FreeBSD.org</email>
</author>
<published>2011-07-04T07:03:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=3fbdf7745942eb2538201440f9079461b7ec0fe5'/>
<id>urn:sha1:3fbdf7745942eb2538201440f9079461b7ec0fe5</id>
<content type='text'>
- Make ng_unref_node() void, since caller shouldn't be
  interested in whether node is valid after call or not,
  since it can't be guaranteed to be valid. [1]

Ok from:	julian [1]
</content>
</entry>
<entry>
<title>Fix error where error variable was assigned result of comparison,</title>
<updated>2011-04-17T16:31:21Z</updated>
<author>
<name>Gleb Smirnoff</name>
<email>glebius@FreeBSD.org</email>
</author>
<published>2011-04-17T16:31:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=5633ca7116dd4025f6f085bf849c2e18abf9d593'/>
<id>urn:sha1:5633ca7116dd4025f6f085bf849c2e18abf9d593</id>
<content type='text'>
instead of function return value.

Submitted by:	Przemyslaw Frasunek &lt;przemyslaw frasunek.com&gt;
MFC after:	4 days
</content>
</entry>
<entry>
<title>Improve locking of creating and dropping links in the graph, acquiring</title>
<updated>2011-03-21T14:18:40Z</updated>
<author>
<name>Gleb Smirnoff</name>
<email>glebius@FreeBSD.org</email>
</author>
<published>2011-03-21T14:18:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=a7da736a64b8bee215bb4f850edf77cdb61c8250'/>
<id>urn:sha1:a7da736a64b8bee215bb4f850edf77cdb61c8250</id>
<content type='text'>
the topology mutex in the following functions, that manipulate pointers
to peer nodes:

- ng_bypass()
- ng_path2noderef() when switching to the next node in sequence.
  Rewrite the function a bit.
- ng_address_hook()
- ng_address_path()

This patch improves stability of large mpd5 installations.
</content>
</entry>
<entry>
<title>After some off-list discussion, revert a number of changes to the</title>
<updated>2010-11-22T19:32:54Z</updated>
<author>
<name>Dimitry Andric</name>
<email>dim@FreeBSD.org</email>
</author>
<published>2010-11-22T19:32:54Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=3e288e623846fab91d923dd651b263d4696fd814'/>
<id>urn:sha1:3e288e623846fab91d923dd651b263d4696fd814</id>
<content type='text'>
DPCPU_DEFINE and VNET_DEFINE macros, as these cause problems for various
people working on the affected files.  A better long-term solution is
still being considered.  This reversal may give some modules empty
set_pcpu or set_vnet sections, but these are harmless.

Changes reverted:

------------------------------------------------------------------------
r215318 | dim | 2010-11-14 21:40:55 +0100 (Sun, 14 Nov 2010) | 4 lines

Instead of unconditionally emitting .globl's for the __start_set_xxx and
__stop_set_xxx symbols, only emit them when the set_vnet or set_pcpu
sections are actually defined.

------------------------------------------------------------------------
r215317 | dim | 2010-11-14 21:38:11 +0100 (Sun, 14 Nov 2010) | 3 lines

Apply the STATIC_VNET_DEFINE and STATIC_DPCPU_DEFINE macros throughout
the tree.

------------------------------------------------------------------------
r215316 | dim | 2010-11-14 21:23:02 +0100 (Sun, 14 Nov 2010) | 2 lines

Add macros to define static instances of VNET_DEFINE and DPCPU_DEFINE.
</content>
</entry>
<entry>
<title>Apply the STATIC_VNET_DEFINE and STATIC_DPCPU_DEFINE macros throughout</title>
<updated>2010-11-14T20:38:11Z</updated>
<author>
<name>Dimitry Andric</name>
<email>dim@FreeBSD.org</email>
</author>
<published>2010-11-14T20:38:11Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=31c6a0037e1a075e397e396a53a3a0822c234122'/>
<id>urn:sha1:31c6a0037e1a075e397e396a53a3a0822c234122</id>
<content type='text'>
the tree.
</content>
</entry>
<entry>
<title>Increase the target buffer for performing NGM_ASCII2BINARY conversion</title>
<updated>2010-05-13T16:48:28Z</updated>
<author>
<name>Marko Zec</name>
<email>zec@FreeBSD.org</email>
</author>
<published>2010-05-13T16:48:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=98a5a343e3ed019794eb26828d1556e01c919a80'/>
<id>urn:sha1:98a5a343e3ed019794eb26828d1556e01c919a80</id>
<content type='text'>
from 2000 bytes to 20 Kbytes, which now matches the buffer size used for
NGM_BINARY2ASCII conversions.

The aim of this change is to allow for bigger binary structures to be
managed via netgraph ASCII messages, until we come up with an API
improvement which would get rid of such arbitrary hardcoded limits.

MFC after:	3 days
</content>
</entry>
<entry>
<title>When destroying a vnet, shut down all netgraph nodes tied to that vnet</title>
<updated>2010-05-03T16:08:24Z</updated>
<author>
<name>Marko Zec</name>
<email>zec@FreeBSD.org</email>
</author>
<published>2010-05-03T16:08:24Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=a3f93b7269debfea7808b22094ab217561b26d8b'/>
<id>urn:sha1:a3f93b7269debfea7808b22094ab217561b26d8b</id>
<content type='text'>
before proceeding with dismantling other protocol domains.

This change only affects options VIMAGE builds.

Reviewed by:	julian, bz
MFC after:	3 days
</content>
</entry>
<entry>
<title>(S)LIST_HEAD_INITIALIZER takes a (S)LIST_HEAD as an argument.</title>
<updated>2009-12-28T22:56:30Z</updated>
<author>
<name>Antoine Brodin</name>
<email>antoine@FreeBSD.org</email>
</author>
<published>2009-12-28T22:56:30Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=13e403fdeadd26f9748ba83ea50ee271fbfc862a'/>
<id>urn:sha1:13e403fdeadd26f9748ba83ea50ee271fbfc862a</id>
<content type='text'>
Fix some wrong usages.
Note: this does not affect generated binaries as this argument is not used.

PR:		137213
Submitted by:	Eygene Ryabinkin (initial version)
MFC after:	1 month
</content>
</entry>
<entry>
<title>Merge the remainder of kern_vimage.c and vimage.h into vnet.c and</title>
<updated>2009-08-01T19:26:27Z</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2009-08-01T19:26:27Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=530c006014fae95c670f4b699fef8bb93034bc6d'/>
<id>urn:sha1:530c006014fae95c670f4b699fef8bb93034bc6d</id>
<content type='text'>
vnet.h, we now use jails (rather than vimages) as the abstraction
for virtualization management, and what remained was specific to
virtual network stacks.  Minor cleanups are done in the process,
and comments updated to reflect these changes.

Reviewed by:	bz
Approved by:	re (vimage blanket)
</content>
</entry>
<entry>
<title>Introduce and use a sysinit-based initialization scheme for virtual</title>
<updated>2009-07-23T20:46:49Z</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2009-07-23T20:46:49Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=d0728d71742e6b2304a3b370f4f4bec9e7d1dc5e'/>
<id>urn:sha1:d0728d71742e6b2304a3b370f4f4bec9e7d1dc5e</id>
<content type='text'>
network stacks, VNET_SYSINIT:

- Add VNET_SYSINIT and VNET_SYSUNINIT macros to declare events that will
  occur each time a network stack is instantiated and destroyed.  In the
  !VIMAGE case, these are simply mapped into regular SYSINIT/SYSUNINIT.
  For the VIMAGE case, we instead use SYSINIT's to track their order and
  properties on registration, using them for each vnet when created/
  destroyed, or immediately on module load for already-started vnets.
- Remove vnet_modinfo mechanism that existed to serve this purpose
  previously, as well as its dependency scheme: we now just use the
  SYSINIT ordering scheme.
- Implement VNET_DOMAIN_SET() to allow protocol domains to declare that
  they want init functions to be called for each virtual network stack
  rather than just once at boot, compiling down to DOMAIN_SET() in the
  non-VIMAGE case.
- Walk all virtualized kernel subsystems and make use of these instead
  of modinfo or DOMAIN_SET() for init/uninit events.  In some cases,
  convert modular components from using modevent to using sysinit (where
  appropriate).  In some cases, do minor rejuggling of SYSINIT ordering
  to make room for or better manage events.

Portions submitted by:	jhb (VNET_SYSINIT), bz (cleanup)
Discussed with:		jhb, bz, julian, zec
Reviewed by:		bz
Approved by:		re (VIMAGE blanket)
</content>
</entry>
</feed>
