Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-6]: src/sys/kern Pull up following revision(s) (requested by abs ...



details:   https://anonhg.NetBSD.org/src/rev/5874ad0326cb
branches:  netbsd-6
changeset: 776620:5874ad0326cb
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Wed May 21 20:34:38 2014 +0000

description:
Pull up following revision(s) (requested by abs in ticket #1054):
        sys/kern/subr_pool.c: revision 1.202
Ensure pool_head is non static - for "vmstat -i"

diffstat:

 sys/kern/subr_pool.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r 0694190545e9 -r 5874ad0326cb sys/kern/subr_pool.c
--- a/sys/kern/subr_pool.c      Wed May 21 20:33:32 2014 +0000
+++ b/sys/kern/subr_pool.c      Wed May 21 20:34:38 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: subr_pool.c,v 1.194.2.1 2012/07/02 19:04:42 jdc Exp $  */
+/*     $NetBSD: subr_pool.c,v 1.194.2.2 2014/05/21 20:34:38 bouyer Exp $       */
 
 /*-
  * Copyright (c) 1997, 1999, 2000, 2002, 2007, 2008, 2010
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: subr_pool.c,v 1.194.2.1 2012/07/02 19:04:42 jdc Exp $");
+__KERNEL_RCSID(0, "$NetBSD: subr_pool.c,v 1.194.2.2 2014/05/21 20:34:38 bouyer Exp $");
 
 #include "opt_ddb.h"
 #include "opt_pool.h"
@@ -70,8 +70,8 @@
  * an internal pool of page headers (`phpool').
  */
 
-/* List of all pools */
-static TAILQ_HEAD(, pool) pool_head = TAILQ_HEAD_INITIALIZER(pool_head);
+/* List of all pools. Non static as needed by 'vmstat -i' */
+TAILQ_HEAD(, pool) pool_head = TAILQ_HEAD_INITIALIZER(pool_head);
 
 /* Private pool for page header structures */
 #define        PHPOOL_MAX      8



Home | Main Index | Thread Index | Old Index