summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm_page.c
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>1999-06-20 04:55:29 +0000
committeralc <alc@FreeBSD.org>1999-06-20 04:55:29 +0000
commitaa61764b70413d3d4c1c15cc23915b1b8bfcc2eb (patch)
tree5a6901406d68eaebf2505bea82a7d82bba673cc8 /sys/vm/vm_page.c
parentded53d5e013ac979d738d3bcbbcc2cde9f480278 (diff)
downloadFreeBSD-src-aa61764b70413d3d4c1c15cc23915b1b8bfcc2eb.zip
FreeBSD-src-aa61764b70413d3d4c1c15cc23915b1b8bfcc2eb.tar.gz
Set cnt.v_page_size to PAGE_SIZE rather than DEFAULT_PAGE_SIZE so that
"vmstat -s" reports the correct value on the Alpha. Submitted by: Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
Diffstat (limited to 'sys/vm/vm_page.c')
-rw-r--r--sys/vm/vm_page.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/vm/vm_page.c b/sys/vm/vm_page.c
index 0d85a94..bde9c1b 100644
--- a/sys/vm/vm_page.c
+++ b/sys/vm/vm_page.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)vm_page.c 7.4 (Berkeley) 5/7/91
- * $Id: vm_page.c,v 1.129 1999/04/05 19:38:29 julian Exp $
+ * $Id: vm_page.c,v 1.130 1999/05/02 23:57:13 alc Exp $
*/
/*
@@ -163,7 +163,7 @@ vm_set_page_size()
{
if (cnt.v_page_size == 0)
- cnt.v_page_size = DEFAULT_PAGE_SIZE;
+ cnt.v_page_size = PAGE_SIZE;
page_mask = cnt.v_page_size - 1;
if ((page_mask & cnt.v_page_size) != 0)
panic("vm_set_page_size: page size not a power of two");
OpenPOWER on IntegriCloud