Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Jun 2002 04:06:57 +1000 (EST)
From:      Andy Farkas <andyf@speednet.com.au>
To:        Makoto Matsushita <matusita@jp.FreeBSD.org>
Cc:        <freebsd-bugs@FreeBSD.ORG>
Subject:   Re: bin/39339: pstat/swapinfo(8) is buggy [PATCH]
Message-ID:  <Pine.BSF.4.33.0206160404350.4293-100000@backup.af.speednet.com.au>
In-Reply-To: <Pine.BSF.4.33.0206160347280.4293-100000@backup.af.speednet.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 16 Jun 2002, Andy Farkas wrote:

> >  See src/sys/i386/conf/LINT, and discover what this option means, and
> >  why this value is not so large by default (in src/sys/vm/vm_swap.c).

I suggest LINT and src/sys/vm/vm_swap.c be sync'd with regards to NSWAPDEV:

# diff -u vm_swap.c-orig vm_swap.c
--- vm_swap.c-orig      Thu Nov  1 03:04:57 2001
+++ vm_swap.c   Sun Jun 16 04:03:57 2002
@@ -60,7 +60,7 @@
  */

 #ifndef NSWAPDEV
-#define NSWAPDEV       4
+#define NSWAPDEV       5
 #endif
 static struct swdevt should_be_malloced[NSWAPDEV];
 static struct swdevt *swdevt = should_be_malloced;


--

 :{ andyf@speednet.com.au

        Andy Farkas
    System Administrator
   Speednet Communications
 http://www.speednet.com.au/




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.33.0206160404350.4293-100000>