From owner-cvs-src@FreeBSD.ORG Tue Jun 5 00:00:57 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E9A2C16A46B; Tue, 5 Jun 2007 00:00:57 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id D83BD13C44C; Tue, 5 Jun 2007 00:00:57 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l5500vm0076951; Tue, 5 Jun 2007 00:00:57 GMT (envelope-from jeff@repoman.freebsd.org) Received: (from jeff@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l5500vM5076949; Tue, 5 Jun 2007 00:00:57 GMT (envelope-from jeff) Message-Id: <200706050000.l5500vM5076949@repoman.freebsd.org> From: Jeff Roberson Date: Tue, 5 Jun 2007 00:00:57 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/amd64/amd64 machdep.c src/sys/amd64/linux32 linux32_machdep.c src/sys/compat/linprocfs linprocfs.c src/sys/compat/ndis subr_ntoskrnl.c src/sys/compat/svr4 svr4_misc.c src/sys/dev/hwpmc hwpmc_mod.c src/sys/dev/md md.c ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jun 2007 00:00:58 -0000 jeff 2007-06-05 00:00:57 UTC FreeBSD src repository Modified files: sys/amd64/amd64 machdep.c sys/amd64/linux32 linux32_machdep.c sys/compat/linprocfs linprocfs.c sys/compat/ndis subr_ntoskrnl.c sys/compat/svr4 svr4_misc.c sys/dev/hwpmc hwpmc_mod.c sys/dev/md md.c sys/fs/procfs procfs_ctl.c procfs_ioctl.c procfs_status.c sys/geom geom_kern.c sys/geom/eli g_eli.c sys/geom/journal g_journal.c sys/geom/mirror g_mirror.c sys/geom/raid3 g_raid3.c sys/i386/i386 machdep.c sys/i386/isa npx.c sys/i386/linux linux_machdep.c sys/ia64/ia64 pmap.c sys/kern init_main.c kern_acct.c kern_cpu.c kern_exit.c kern_idle.c kern_intr.c kern_kthread.c kern_lockf.c kern_poll.c kern_proc.c kern_resource.c kern_shutdown.c kern_subr.c kern_thr.c kern_time.c ksched.c subr_prof.c subr_smp.c subr_taskqueue.c subr_trap.c sys_generic.c sys_process.c sys/netncp ncp_sock.c sys/netsmb smb_trantcp.c sys/pc98/pc98 machdep.c sys/security/mac_lomac mac_lomac.c sys/ufs/ffs ffs_snapshot.c sys/vm vm_glue.c vm_meter.c vm_pageout.c vm_zeroidle.c Log: Commit 14/14 of sched_lock decomposition. - Use thread_lock() rather than sched_lock for per-thread scheduling sychronization. - Use the per-process spinlock rather than the sched_lock for per-process scheduling synchronization. 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.674 +4 -4 src/sys/amd64/amd64/machdep.c 1.44 +6 -6 src/sys/amd64/linux32/linux32_machdep.c 1.115 +2 -2 src/sys/compat/linprocfs/linprocfs.c 1.89 +2 -2 src/sys/compat/ndis/subr_ntoskrnl.c 1.94 +3 -3 src/sys/compat/svr4/svr4_misc.c 1.29 +6 -6 src/sys/dev/hwpmc/hwpmc_mod.c 1.169 +2 -2 src/sys/dev/md/md.c 1.56 +4 -4 src/sys/fs/procfs/procfs_ctl.c 1.18 +2 -2 src/sys/fs/procfs/procfs_ioctl.c 1.60 +2 -2 src/sys/fs/procfs/procfs_status.c 1.38 +2 -2 src/sys/geom/eli/g_eli.c 1.41 +6 -6 src/sys/geom/geom_kern.c 1.13 +2 -2 src/sys/geom/journal/g_journal.c 1.93 +2 -2 src/sys/geom/mirror/g_mirror.c 1.81 +2 -2 src/sys/geom/raid3/g_raid3.c 1.655 +4 -4 src/sys/i386/i386/machdep.c 1.172 +2 -2 src/sys/i386/isa/npx.c 1.76 +6 -6 src/sys/i386/linux/linux_machdep.c 1.188 +6 -4 src/sys/ia64/ia64/pmap.c 1.278 +4 -4 src/sys/kern/init_main.c 1.92 +2 -2 src/sys/kern/kern_acct.c 1.25 +8 -8 src/sys/kern/kern_cpu.c 1.300 +12 -10 src/sys/kern/kern_exit.c 1.48 +2 -2 src/sys/kern/kern_idle.c 1.147 +24 -24 src/sys/kern/kern_intr.c 1.38 +2 -2 src/sys/kern/kern_kthread.c 1.55 +16 -8 src/sys/kern/kern_lockf.c 1.30 +4 -4 src/sys/kern/kern_poll.c 1.249 +16 -12 src/sys/kern/kern_proc.c 1.174 +33 -24 src/sys/kern/kern_resource.c 1.182 +6 -6 src/sys/kern/kern_shutdown.c 1.103 +2 -2 src/sys/kern/kern_subr.c 1.60 +13 -10 src/sys/kern/kern_thr.c 1.141 +4 -4 src/sys/kern/kern_time.c 1.36 +0 -8 src/sys/kern/ksched.c 1.79 +10 -7 src/sys/kern/subr_prof.c 1.199 +1 -3 src/sys/kern/subr_smp.c 1.39 +2 -2 src/sys/kern/subr_taskqueue.c 1.297 +11 -8 src/sys/kern/subr_trap.c 1.157 +16 -16 src/sys/kern/sys_generic.c 1.143 +18 -15 src/sys/kern/sys_process.c 1.19 +11 -11 src/sys/netncp/ncp_sock.c 1.25 +7 -7 src/sys/netsmb/smb_trantcp.c 1.394 +4 -4 src/sys/pc98/pc98/machdep.c 1.51 +2 -2 src/sys/security/mac_lomac/mac_lomac.c 1.136 +15 -9 src/sys/ufs/ffs/ffs_snapshot.c 1.223 +38 -27 src/sys/vm/vm_glue.c 1.94 +9 -3 src/sys/vm/vm_meter.c 1.283 +12 -7 src/sys/vm/vm_pageout.c 1.47 +4 -4 src/sys/vm/vm_zeroidle.c