Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 May 2011 18:36:36 +0000 (UTC)
From:      Attilio Rao <attilio@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r221395 - projects/largeSMP/sys/sys
Message-ID:  <201105031836.p43Iaamp006038@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: attilio
Date: Tue May  3 18:36:36 2011
New Revision: 221395
URL: http://svn.freebsd.org/changeset/base/221395

Log:
  Make CPU_MAXSETSIZE dependant by MAXCPU as well.
  
  Discussed with: jhb

Modified:
  projects/largeSMP/sys/sys/cpuset.h

Modified: projects/largeSMP/sys/sys/cpuset.h
==============================================================================
--- projects/largeSMP/sys/sys/cpuset.h	Tue May  3 18:23:11 2011	(r221394)
+++ projects/largeSMP/sys/sys/cpuset.h	Tue May  3 18:36:36 2011	(r221395)
@@ -36,7 +36,7 @@
 #define	CPU_SETSIZE	MAXCPU
 #endif
 
-#define	CPU_MAXSIZE	128
+#define	CPU_MAXSIZE	(4 * MAXCPU)
 
 #ifndef	CPU_SETSIZE
 #define	CPU_SETSIZE	CPU_MAXSIZE



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105031836.p43Iaamp006038>