Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Jul 2008 11:40:44 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 146103 for review
Message-ID:  <200807281140.m6SBeifY091616@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=146103

Change 146103 by jhb@jhb_zion on 2008/07/28 11:40:08

	Inherit the TDF_AFFINITY flag when inheriting the cpuset.  Hopefully
	this fixes the 'build world in a cpuset' case.

Affected files ...

.. //depot/projects/smpng/sys/kern/sched_4bsd.c#80 edit

Differences ...

==== //depot/projects/smpng/sys/kern/sched_4bsd.c#80 (text+ko) ====

@@ -738,6 +738,7 @@
 	childtd->td_estcpu = td->td_estcpu;
 	childtd->td_lock = &sched_lock;
 	childtd->td_cpuset = cpuset_ref(td->td_cpuset);
+	childtd->td_flags |= (td->td_flags & TDF_AFFINITY);
 	ts = childtd->td_sched;
 	bzero(ts, sizeof(*ts));
 }



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