Date: Wed, 29 Apr 2009 03:15:43 +0000 (UTC) From: Jeff Roberson <jeff@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/kern sched_ule.c subr_smp.c src/sys/sys smp.h Message-ID: <200904290318.n3T3IiqU098277@repoman.freebsd.org>
index | next in thread | raw e-mail
jeff 2009-04-29 03:15:43 UTC
FreeBSD src repository
Modified files:
sys/kern sched_ule.c subr_smp.c
sys/sys smp.h
Log:
SVN rev 191643 on 2009-04-29 03:15:43Z by jeff
- Remove the bogus idle thread state code. This may have a race in it
and it only optimized out an ipi or mwait in very few cases.
- Skip the adaptive idle code when running on SMT or HTT cores. This
just wastes cpu time that could be used on a busy thread on the same
core.
- Rename CG_FLAG_THREAD to CG_FLAG_SMT to be more descriptive. Re-use
CG_FLAG_THREAD to mean SMT or HTT.
Sponsored by: Nokia
Revision Changes Path
1.254 +12 -28 src/sys/kern/sched_ule.c
1.214 +1 -1 src/sys/kern/subr_smp.c
1.90 +2 -1 src/sys/sys/smp.h
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904290318.n3T3IiqU098277>
