From cb15d5d96b3b2730714c28bfe06cfe7421758b8c Mon Sep 17 00:00:00 2001 From: Peter Rival Date: Fri, 23 Apr 2010 13:26:05 -0400 Subject: 6778289 vm locks need to scale with the size of system (strands/memory size) --- usr/src/uts/common/sys/param.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'usr/src/uts/common/sys/param.h') diff --git a/usr/src/uts/common/sys/param.h b/usr/src/uts/common/sys/param.h index 40af8ce04d..e795131fe4 100644 --- a/usr/src/uts/common/sys/param.h +++ b/usr/src/uts/common/sys/param.h @@ -19,7 +19,7 @@ * CDDL HEADER END */ /* - * Copyright (c) 1988, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved. */ /* Copyright (c) 1983, 1984, 1985, 1986, 1987, 1988, 1989 AT&T */ @@ -380,6 +380,7 @@ extern const unsigned long _defaultstksz; extern const unsigned int _nbpg; extern const int _ncpu; extern const int _ncpu_log2; +extern const int _ncpu_p2; extern const int _clsize; #endif /* defined(_KERNEL) && !defined(_ASM) */ @@ -399,6 +400,7 @@ extern const int _clsize; #define DEFAULTSTKSZ _defaultstksz #define NCPU _ncpu #define NCPU_LOG2 _ncpu_log2 +#define NCPU_P2 _ncpu_p2 #endif /* defined(_MACHDEP) */ -- cgit v1.2.3