Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mips/include USRIOSIZE had to be changed from 32 to...



details:   https://anonhg.NetBSD.org/src/rev/45b48e3e287a
branches:  trunk
changeset: 487532:45b48e3e287a
user:      soda <soda%NetBSD.org@localhost>
date:      Fri Jun 09 04:18:19 2000 +0000

description:
USRIOSIZE had to be changed from 32 to 128,
when MAXBSIZE was changed from 16KB to 64KB(MAXPHYS)
on <sys/param.h> revision 1.28.

diffstat:

 sys/arch/mips/include/vmparam.h |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (22 lines):

diff -r 8b4cdc0b7cda -r 45b48e3e287a sys/arch/mips/include/vmparam.h
--- a/sys/arch/mips/include/vmparam.h   Fri Jun 09 01:40:12 2000 +0000
+++ b/sys/arch/mips/include/vmparam.h   Fri Jun 09 04:18:19 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.23 2000/05/06 05:19:32 nisimura Exp $    */
+/*     $NetBSD: vmparam.h,v 1.24 2000/06/09 04:18:19 soda Exp $        */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -81,10 +81,10 @@
 
 /*
  * PTEs for mapping user space into the kernel for phyio operations.
- * 16 pte's are enough to cover 8 disks * MAXBSIZE.
+ * The default PTE number is enough to cover 8 disks * MAXBSIZE.
  */
 #ifndef USRIOSIZE
-#define USRIOSIZE      32
+#define USRIOSIZE      (MAXBSIZE/NBPG * 8)
 #endif
 
 /*



Home | Main Index | Thread Index | Old Index