svn commit: r221901 - projects/largeSMP/sys/sys
Sean Bruno
sbruno at FreeBSD.org
Sat May 14 17:56:13 UTC 2011
Author: sbruno
Date: Sat May 14 17:56:13 2011
New Revision: 221901
URL: http://svn.freebsd.org/changeset/base/221901
Log:
Increase size of cg_count to allow us to utilize >128 CPUs.
Pad cg_count and cg_children to keep the struct aligned
Reviewed by: attilio@
Modified:
projects/largeSMP/sys/sys/smp.h
Modified: projects/largeSMP/sys/sys/smp.h
==============================================================================
--- projects/largeSMP/sys/sys/smp.h Sat May 14 17:44:12 2011 (r221900)
+++ projects/largeSMP/sys/sys/smp.h Sat May 14 17:56:13 2011 (r221901)
@@ -35,8 +35,8 @@ struct cpu_group {
struct cpu_group *cg_parent; /* Our parent group. */
struct cpu_group *cg_child; /* Optional children groups. */
cpuset_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. */
};
More information about the svn-src-projects
mailing list