http://defect.opensolaris.org/bz/show_bug.cgi?id=4343
--- Comment #5 from Eric Saxe <eric.saxe at sun.com> 2008-11-04 16:25:57 ---
Here's a patch that I think should work...
I'm fixing this in the same wad as 4202 (which I'm testing)...
static void
cmt_hier_promote(pg_cmt_t *pg)
{
@@ -276,15 +314,16 @@
*/
pause_cpus(NULL);
- children = pg->cmt_children;
/*
- * Update the parent reference in the children of the PG
+ * Update the parent reference in any children of the PG
* being promoted.
*/
- group_iter_init(&iter);
- while ((child = group_iterate(children, &iter)) != NULL) {
- ASSERT(child->cmt_parent == pg);
- child->cmt_parent = parent;
+ if ((children = pg->cmt_children) != NULL) {
+ group_iter_init(&iter);
+ while ((child = group_iterate(children, &iter)) != NULL) {
+ ASSERT(child->cmt_parent == pg);
+ child->cmt_parent = parent;
+ }
}
--
Configure bugmail: http://defect.opensolaris.org/bz/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.