From 9fee25ddfaa2c8a180b394623c2439c575976a1c Mon Sep 17 00:00:00 2001 From: soda Date: Fri, 9 Jun 2000 04:18:19 +0000 Subject: [PATCH] USRIOSIZE had to be changed from 32 to 128, when MAXBSIZE was changed from 16KB to 64KB(MAXPHYS) on revision 1.28. --- sys/arch/mips/include/vmparam.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/arch/mips/include/vmparam.h b/sys/arch/mips/include/vmparam.h index 0976ffff909e..3c7d2ccf664a 100644 --- a/sys/arch/mips/include/vmparam.h +++ b/sys/arch/mips/include/vmparam.h @@ -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 /*