bump VM_PHYSSEG_MAX to 32, we've seen a system where 16 wasn't enough.

This commit is contained in:
chs 2012-11-13 14:10:24 +00:00
parent ad0d9d79c0
commit f5b8ae644b
2 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: vmparam.h,v 1.31 2012/08/15 08:09:57 sborrill Exp $ */
/* $NetBSD: vmparam.h,v 1.32 2012/11/13 14:10:24 chs Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@ -148,7 +148,7 @@
/* virtual sizes (bytes) for various kernel submaps */
#define VM_PHYS_SIZE (USRIOSIZE*PAGE_SIZE)
#define VM_PHYSSEG_MAX 16 /* 1 "hole" + 15 free lists */
#define VM_PHYSSEG_MAX 32 /* 1 "hole" + 31 free lists */
#define VM_PHYSSEG_STRAT VM_PSTRAT_BIGFIRST
#define VM_NFREELIST 3

View File

@ -1,4 +1,4 @@
/* $NetBSD: vmparam.h,v 1.75 2012/08/15 08:10:28 sborrill Exp $ */
/* $NetBSD: vmparam.h,v 1.76 2012/11/13 14:10:24 chs Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@ -127,7 +127,7 @@
#define VM_PHYSSEG_MAX 1
#define VM_NFREELIST 1
#else
#define VM_PHYSSEG_MAX 16 /* 1 "hole" + 15 free lists */
#define VM_PHYSSEG_MAX 32 /* 1 "hole" + 31 free lists */
#define VM_NFREELIST 2
#define VM_FREELIST_FIRST16 1
#endif /* XEN */