PERFORCE change 146045 for review
John Baldwin
jhb at FreeBSD.org
Sun Jul 27 13:38:48 UTC 2008
http://perforce.freebsd.org/chv.cgi?CH=146045
Change 146045 by jhb at jhb_zion on 2008/07/27 13:38:23
Ignore pinned and bound threads when applying a cpuset.
Affected files ...
.. //depot/projects/smpng/sys/kern/sched_4bsd.c#77 edit
Differences ...
==== //depot/projects/smpng/sys/kern/sched_4bsd.c#77 (text+ko) ====
@@ -1594,6 +1594,10 @@
if (!(td->td_flags & TDF_AFFINITY))
return;
+ /* Pinned threads and bound threads should be left alone. */
+ if (td->td_pinned != 0 || td->td_flags & TDF_BOUND)
+ return;
+
switch (td->td_state) {
case TDS_RUNQ:
/*
More information about the p4-projects
mailing list