Author: attilio
Date: Tue Jul 19 13:00:30 2011
New Revision: 224217
URL: http://svn.freebsd.org/changeset/base/224217

Log:
  Bump MAXCPU for amd64, ia64 and XLP mips appropriately.
  From now on, default values for FreeBSD will be 64 maxiumum supported
  CPUs on amd64 and ia64 and 128 for XLP. All the other architectures
  seem already capped appropriately (with the exception of sparc64 which
  needs further support on jalapeno flavour).
  
  Bump __FreeBSD_version in order to reflect KBI/KPI brekage introduced
  during the infrastructure cleanup for supporting MAXCPU > 32. This
  covers cpumask_t retiral too.
  
  The switch is considered completed at the present time, so for whatever
  bug you may experience that is reconducible to that area, please report
  immediately.
  
  Requested by: marcel, jchandra
  Tested by:    pluknet, sbruno
  Approved by:  re (kib)

Modified:
  head/sys/amd64/include/param.h
  head/sys/ia64/include/param.h
  head/sys/mips/conf/XLP
  head/sys/mips/conf/XLP64
  head/sys/mips/conf/XLPN32
  head/sys/sys/param.h

Modified: head/sys/amd64/include/param.h
==============================================================================
--- head/sys/amd64/include/param.h      Tue Jul 19 12:41:57 2011        
(r224216)
+++ head/sys/amd64/include/param.h      Tue Jul 19 13:00:30 2011        
(r224217)
@@ -65,7 +65,7 @@
 
 #if defined(SMP) || defined(KLD_MODULE)
 #ifndef MAXCPU
-#define MAXCPU         32
+#define MAXCPU         64
 #endif
 #else
 #define MAXCPU         1

Modified: head/sys/ia64/include/param.h
==============================================================================
--- head/sys/ia64/include/param.h       Tue Jul 19 12:41:57 2011        
(r224216)
+++ head/sys/ia64/include/param.h       Tue Jul 19 13:00:30 2011        
(r224217)
@@ -63,7 +63,7 @@
 
 #if defined(SMP) || defined(KLD_MODULE)
 #ifndef MAXCPU
-#define        MAXCPU          32
+#define        MAXCPU          64
 #endif
 #else
 #define MAXCPU         1

Modified: head/sys/mips/conf/XLP
==============================================================================
--- head/sys/mips/conf/XLP      Tue Jul 19 12:41:57 2011        (r224216)
+++ head/sys/mips/conf/XLP      Tue Jul 19 13:00:30 2011        (r224217)
@@ -36,6 +36,7 @@ options       SCHED_ULE               # ULE scheduler
 options         SMP
 options        PREEMPTION              # Enable kernel thread preemption
 #options       FULL_PREEMPTION         # Enable kernel thread preemption
+options                MAXCPU=128              # XLP can probe 128 CPUs
 options        INET                    # InterNETworking
 options        INET6                   # IPv6 communications protocols
 options        FFS                     # Berkeley Fast Filesystem

Modified: head/sys/mips/conf/XLP64
==============================================================================
--- head/sys/mips/conf/XLP64    Tue Jul 19 12:41:57 2011        (r224216)
+++ head/sys/mips/conf/XLP64    Tue Jul 19 13:00:30 2011        (r224217)
@@ -38,6 +38,7 @@ options       SCHED_ULE               # ULE scheduler
 options         SMP
 options        PREEMPTION              # Enable kernel thread preemption
 #options       FULL_PREEMPTION         # Enable kernel thread preemption
+options                MAXCPU=128              # XLP can probe 128 CPUs
 options        INET                    # InterNETworking
 options        INET6                   # IPv6 communications protocols
 options        FFS                     # Berkeley Fast Filesystem

Modified: head/sys/mips/conf/XLPN32
==============================================================================
--- head/sys/mips/conf/XLPN32   Tue Jul 19 12:41:57 2011        (r224216)
+++ head/sys/mips/conf/XLPN32   Tue Jul 19 13:00:30 2011        (r224217)
@@ -37,6 +37,7 @@ options       SCHED_ULE               # ULE scheduler
 options         SMP
 options        PREEMPTION              # Enable kernel thread preemption
 #options       FULL_PREEMPTION         # Enable kernel thread preemption
+options                MAXCPU=128              # XLP can probe 128 CPUs
 options        INET                    # InterNETworking
 options        INET6                   # IPv6 communications protocols
 options        FFS                     # Berkeley Fast Filesystem

Modified: head/sys/sys/param.h
==============================================================================
--- head/sys/sys/param.h        Tue Jul 19 12:41:57 2011        (r224216)
+++ head/sys/sys/param.h        Tue Jul 19 13:00:30 2011        (r224217)
@@ -58,7 +58,7 @@
  *             in the range 5 to 9.
  */
 #undef __FreeBSD_version
-#define __FreeBSD_version 900039       /* Master, propagated to newvers */
+#define __FreeBSD_version 900040       /* Master, propagated to newvers */
 
 #ifdef _KERNEL
 #define        P_OSREL_SIGSEGV         700004
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to