Author: attilio
Date: Sun May 22 21:31:36 2011
New Revision: 222200
URL: http://svn.freebsd.org/changeset/base/222200

Log:
  Merge r221901 from largeSMP project branch:
  Increase the size of cg_count in order to enable usage of > 127 CPUs.
  cg_children is also bumped in order to keep the structure naturally
  padded, even if this is not strictly necessary.
  
  Submitted and tested by:      sbruno

Modified:
  head/sys/sys/smp.h

Modified: head/sys/sys/smp.h
==============================================================================
--- head/sys/sys/smp.h  Sun May 22 21:04:32 2011        (r222199)
+++ head/sys/sys/smp.h  Sun May 22 21:31:36 2011        (r222200)
@@ -33,8 +33,8 @@ struct cpu_group {
        struct cpu_group *cg_parent;    /* Our parent group. */
        struct cpu_group *cg_child;     /* Optional children groups. */
        cpumask_t       cg_mask;        /* Mask of cpus in this group. */
-       int8_t          cg_count;       /* Count of cpus in this group. */
-       int8_t          cg_children;    /* Number of children groups. */
+       int32_t         cg_count;       /* Count of cpus in this group. */
+       int16_t         cg_children;    /* Number of children groups. */
        int8_t          cg_level;       /* Shared cache level. */
        int8_t          cg_flags;       /* Traversal modifiers. */
 };
_______________________________________________
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