Date: Sun, 27 Jul 2008 13:38:48 GMT From: John Baldwin <jhb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 146045 for review Message-ID: <200807271338.m6RDcme7005187@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=146045 Change 146045 by jhb@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: /*
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200807271338.m6RDcme7005187>