Date: Thu, 8 Mar 2007 06:44:34 +0000 (UTC) From: Julian Elischer <julian@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_clock.c kern_synch.c sched_core.c sched_ule.c subr_prf.c subr_smp.c vfs_bio.c src/sys/sys buf.h proc.h Message-ID: <200703080644.l286iY7P098522@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
julian 2007-03-08 06:44:34 UTC FreeBSD src repository Modified files: sys/kern kern_clock.c kern_synch.c sched_core.c sched_ule.c subr_prf.c subr_smp.c vfs_bio.c sys/sys buf.h proc.h Log: Instead of doing comparisons using the pcpu area to see if a thread is an idle thread, just see if it has the IDLETD flag set. That flag will probably move to the pflags word as it's permenent and never chenges for the life of the system so it doesn't need locking. Revision Changes Path 1.194 +1 -1 src/sys/kern/kern_clock.c 1.291 +1 -1 src/sys/kern/kern_synch.c 1.13 +2 -2 src/sys/kern/sched_core.c 1.189 +1 -1 src/sys/kern/sched_ule.c 1.130 +1 -1 src/sys/kern/subr_prf.c 1.198 +1 -1 src/sys/kern/subr_smp.c 1.518 +4 -4 src/sys/kern/vfs_bio.c 1.196 +1 -2 src/sys/sys/buf.h 1.472 +6 -0 src/sys/sys/proc.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200703080644.l286iY7P098522>