From owner-svn-src-head@FreeBSD.ORG Tue Jul 28 22:17:34 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EA093106564A; Tue, 28 Jul 2009 22:17:34 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id D839D8FC0C; Tue, 28 Jul 2009 22:17:34 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n6SMHYda045036; Tue, 28 Jul 2009 22:17:34 GMT (envelope-from rwatson@svn.freebsd.org) Received: (from rwatson@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n6SMHYm7045034; Tue, 28 Jul 2009 22:17:34 GMT (envelope-from rwatson@svn.freebsd.org) Message-Id: <200907282217.n6SMHYm7045034@svn.freebsd.org> From: Robert Watson Date: Tue, 28 Jul 2009 22:17:34 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r195927 - head/sys/net X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Jul 2009 22:17:35 -0000 Author: rwatson Date: Tue Jul 28 22:17:34 2009 New Revision: 195927 URL: http://svn.freebsd.org/changeset/base/195927 Log: Revise header comments for vnet.h as we now implement VNET_SYSINIT, not just VNET_DEFINE in vnet.h. Approved by: re (vimage blanket) Modified: head/sys/net/vnet.h Modified: head/sys/net/vnet.h ============================================================================== --- head/sys/net/vnet.h Tue Jul 28 21:52:24 2009 (r195926) +++ head/sys/net/vnet.h Tue Jul 28 22:17:34 2009 (r195927) @@ -28,10 +28,14 @@ */ /* - * This is the virtual network stack memory allocator, which provides support - * for virtualized global variables via a special linker set, set_vnet. When - * "options VIMAGE" isn't defined, virtualized global variables are compiled - * as normal globals. + * This header file defines two sets of interfaces supporting virtualized + * network stacks: a virtual network stack memory allocator, which provides + * support for virtualized global variables via a special linker set, + * set_vnet, and virtualized sysinits/sysuninits, which allow constructors + * and destructors to be run for each network stack subsystem as virtual + * instances are created and destroyed. If VIMAGE isn't compiled into the + * kernel, virtualized global variables compile to normal global variables, + * and virtualized sysinits to regular sysinits. */ #ifndef _NET_VNET_H_