Date: Mon, 4 Jun 2007 23:56:08 +0000 (UTC) From: Jeff Roberson <jeff@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/amd64/amd64 mp_machdep.c src/sys/i386/i386 mp_machdep.c src/sys/ia64/ia64 mp_machdep.c src/sys/sparc64/sparc64 mp_machdep.c src/sys/sun4v/sun4v mp_machdep.c Message-ID: <200706042356.l54Nu8bn075828@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jeff 2007-06-04 23:56:08 UTC FreeBSD src repository Modified files: sys/amd64/amd64 mp_machdep.c sys/i386/i386 mp_machdep.c sys/ia64/ia64 mp_machdep.c sys/sparc64/sparc64 mp_machdep.c sys/sun4v/sun4v mp_machdep.c Log: Commit 10/14 of sched_lock decomposition. - Use sched_throw() rather than replicating the same cpu_throw() code for each architecture. This also allows the scheduler to use any locking it may want to. - Use the thread_lock() rather than sched_lock when preempting. - The scheduler lock is not required to synchronize release_aps. Tested by: kris, current@ Tested on: i386, amd64, ULE, 4BSD, libthr, libkse, PREEMPTION, etc. Discussed with: kris, attilio, kmacy, jhb, julian, bde (small parts each) Revision Changes Path 1.286 +4 -23 src/sys/amd64/amd64/mp_machdep.c 1.280 +5 -21 src/sys/i386/i386/mp_machdep.c 1.63 +1 -16 src/sys/ia64/ia64/mp_machdep.c 1.35 +2 -6 src/sys/sparc64/sparc64/mp_machdep.c 1.7 +4 -10 src/sys/sun4v/sun4v/mp_machdep.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200706042356.l54Nu8bn075828>