Date: Mon, 28 Jul 2008 12:25:35 GMT From: John Baldwin <jhb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 146106 for review Message-ID: <200807281225.m6SCPZQh096443@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=146106 Change 146106 by jhb@jhb_zion on 2008/07/28 12:24:36 Compile. Affected files ... .. //depot/projects/smpng/sys/kern/sched_4bsd.c#83 edit Differences ... ==== //depot/projects/smpng/sys/kern/sched_4bsd.c#83 (text+ko) ==== @@ -1582,6 +1582,7 @@ * Set the TSF_AFFINITY flag if there is at least one CPU this * thread can't run on. */ + ts = td->td_sched; ts->ts_flags &= ~TSF_AFFINITY; for (cpu = 0; cpu <= mp_maxid; cpu++) { if (CPU_ABSENT(cpu)) @@ -1608,7 +1609,6 @@ * If we are on a per-CPU runqueue that is in the set, * then nothing needs to be done. */ - ts = td->td_sched; if (ts->ts_runq != &runq && THREAD_CAN_SCHED(td, ts->ts_runq - runq_pcpu)) return;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200807281225.m6SCPZQh096443>