From: | Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx> |
Date: | Mon, 6 Jun 2005 08:02:28 -0700 (PDT) |
dillon 2005/06/06 08:02:28 PDT DragonFly src repository Modified files: sys/sys thread2.h sys/i386/i386 autoconf.c machdep.c sys/kern init_main.c kern_clock.c kern_descrip.c kern_event.c kern_exit.c kern_fork.c kern_intr.c kern_lock.c kern_msfbuf.c kern_physio.c kern_poll.c kern_random.c kern_resource.c kern_sig.c kern_synch.c kern_timeout.c kern_xio.c subr_diskslice.c subr_log.c subr_prof.c subr_rman.c subr_taskqueue.c sys_generic.c sys_process.c tty.c tty_pty.c uipc_accf.c uipc_domain.c uipc_socket.c vfs_aio.c vfs_bio.c vfs_cluster.c vfs_conf.c vfs_mount.c vfs_subr.c vfs_sync.c vfs_syscalls.c Log: Remove spl*() calls from kern, replacing them with critical sections. Change the meaning of safepri from a cpl mask to a thread priority. Make a minor adjustment to tests within one of the buffer cache's critical sections. Revision Changes Path 1.19 +0 -15 src/sys/sys/thread2.h 1.16 +1 -1 src/sys/i386/i386/autoconf.c 1.73 +2 -1 src/sys/i386/i386/machdep.c 1.42 +2 -3 src/sys/kern/init_main.c 1.43 +5 -5 src/sys/kern/kern_clock.c 1.42 +5 -7 src/sys/kern/kern_descrip.c 1.14 +25 -25 src/sys/kern/kern_event.c 1.41 +4 -3 src/sys/kern/kern_exit.c 1.33 +5 -5 src/sys/kern/kern_fork.c 1.21 +13 -34 src/sys/kern/kern_intr.c 1.14 +6 -5 src/sys/kern/kern_lock.c 1.14 +0 -2 src/sys/kern/kern_msfbuf.c 1.10 +2 -3 src/sys/kern/kern_physio.c 1.18 +8 -7 src/sys/kern/kern_poll.c 1.9 +3 -3 src/sys/kern/kern_random.c 1.21 +3 -4 src/sys/kern/kern_resource.c 1.37 +13 -11 src/sys/kern/kern_sig.c 1.42 +11 -28 src/sys/kern/kern_synch.c 1.16 +2 -3 src/sys/kern/kern_timeout.c 1.10 +6 -9 src/sys/kern/kern_xio.c 1.10 +3 -3 src/sys/kern/subr_diskslice.c 1.8 +9 -12 src/sys/kern/subr_log.c 1.10 +3 -3 src/sys/kern/subr_prof.c 1.7 +6 -6 src/sys/kern/subr_rman.c 1.6 +22 -25 src/sys/kern/subr_taskqueue.c 1.21 +10 -11 src/sys/kern/sys_generic.c 1.15 +2 -2 src/sys/kern/sys_process.c 1.17 +88 -101 src/sys/kern/tty.c 1.13 +3 -3 src/sys/kern/tty_pty.c 1.3 +7 -6 src/sys/kern/uipc_accf.c 1.9 +6 -6 src/sys/kern/uipc_domain.c 1.32 +55 -53 src/sys/kern/uipc_socket.c 1.15 +69 -82 src/sys/kern/vfs_aio.c 1.37 +70 -78 src/sys/kern/vfs_bio.c 1.13 +15 -16 src/sys/kern/vfs_cluster.c 1.14 +3 -3 src/sys/kern/vfs_conf.c 1.11 +2 -3 src/sys/kern/vfs_mount.c 1.57 +19 -20 src/sys/kern/vfs_subr.c 1.6 +8 -9 src/sys/kern/vfs_sync.c 1.62 +3 -3 src/sys/kern/vfs_syscalls.c http://www.dragonflybsd.org/cvsweb/src/sys/sys/thread2.h.diff?r1=1.18&r2=1.19&f=u http://www.dragonflybsd.org/cvsweb/src/sys/i386/i386/autoconf.c.diff?r1=1.15&r2=1.16&f=u http://www.dragonflybsd.org/cvsweb/src/sys/i386/i386/machdep.c.diff?r1=1.72&r2=1.73&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/init_main.c.diff?r1=1.41&r2=1.42&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_clock.c.diff?r1=1.42&r2=1.43&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_descrip.c.diff?r1=1.41&r2=1.42&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_event.c.diff?r1=1.13&r2=1.14&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_exit.c.diff?r1=1.40&r2=1.41&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_fork.c.diff?r1=1.32&r2=1.33&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_intr.c.diff?r1=1.20&r2=1.21&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_lock.c.diff?r1=1.13&r2=1.14&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_msfbuf.c.diff?r1=1.13&r2=1.14&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_physio.c.diff?r1=1.9&r2=1.10&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_poll.c.diff?r1=1.17&r2=1.18&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_random.c.diff?r1=1.8&r2=1.9&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_resource.c.diff?r1=1.20&r2=1.21&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_sig.c.diff?r1=1.36&r2=1.37&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_synch.c.diff?r1=1.41&r2=1.42&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_timeout.c.diff?r1=1.15&r2=1.16&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_xio.c.diff?r1=1.9&r2=1.10&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/subr_diskslice.c.diff?r1=1.9&r2=1.10&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/subr_log.c.diff?r1=1.7&r2=1.8&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/subr_prof.c.diff?r1=1.9&r2=1.10&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/subr_rman.c.diff?r1=1.6&r2=1.7&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/subr_taskqueue.c.diff?r1=1.5&r2=1.6&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/sys_generic.c.diff?r1=1.20&r2=1.21&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/sys_process.c.diff?r1=1.14&r2=1.15&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/tty.c.diff?r1=1.16&r2=1.17&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/tty_pty.c.diff?r1=1.12&r2=1.13&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/uipc_accf.c.diff?r1=1.2&r2=1.3&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/uipc_domain.c.diff?r1=1.8&r2=1.9&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/uipc_socket.c.diff?r1=1.31&r2=1.32&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_aio.c.diff?r1=1.14&r2=1.15&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_bio.c.diff?r1=1.36&r2=1.37&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_cluster.c.diff?r1=1.12&r2=1.13&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_conf.c.diff?r1=1.13&r2=1.14&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_mount.c.diff?r1=1.10&r2=1.11&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_subr.c.diff?r1=1.56&r2=1.57&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_sync.c.diff?r1=1.5&r2=1.6&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_syscalls.c.diff?r1=1.61&r2=1.62&f=u