Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys



Module Name:    src
Committed By:   ad
Date:           Thu Apr 24 15:35:31 UTC 2008

Modified Files:
        src/sys/arch/i386/i386: mach_machdep.c
        src/sys/arch/powerpc/powerpc: mach_machdep.c
        src/sys/arch/vax/vax: pmap.c
        src/sys/compat/common: tty_43.c
        src/sys/compat/darwin: darwin_ptrace.c darwin_sysctl.c
        src/sys/compat/ibcs2: ibcs2_misc.c
        src/sys/compat/irix: irix_exec.c irix_prctl.c
        src/sys/compat/linux/common: linux_exec.c linux_file.c linux_futex.c
            linux_sched.c linux_signal.c
        src/sys/compat/linux32/common: linux32_exec.c
        src/sys/compat/mach: mach_task.c
        src/sys/compat/netbsd32: netbsd32_fs.c
        src/sys/compat/svr4: svr4_misc.c
        src/sys/dev: audio.c midi.c sequencer.c
        src/sys/dev/pci/bktr: bktr_core.c bktr_reg.h
        src/sys/dev/sbus: bpp.c
        src/sys/dev/sun: event_var.h
        src/sys/dev/usb: uhid.c usb.c
        src/sys/dev/wscons: wsdisplay_compat_usl.c wsevent.c wseventvar.h
        src/sys/fs/msdosfs: msdosfs_vnops.c
        src/sys/fs/smbfs: smbfs_io.c
        src/sys/kern: core_elf32.c init_main.c init_sysctl.c kern_acct.c
            kern_core.c kern_cpu.c kern_descrip.c kern_event.c kern_exec.c
            kern_exit.c kern_fork.c kern_ktrace.c kern_lwp.c kern_proc.c
            kern_prot.c kern_resource.c kern_sig.c kern_stub.c kern_synch.c
            kern_time.c subr_prf.c sys_aio.c sys_generic.c sys_lwp.c
            sys_mqueue.c sys_process.c sys_pset.c sys_sched.c sys_sig.c tty.c
            tty_tty.c uipc_syscalls.c vfs_syscalls.c vfs_vnops.c
        src/sys/miscfs/procfs: procfs_ctl.c procfs_linux.c procfs_status.c
            procfs_subr.c procfs_vnops.c
        src/sys/miscfs/specfs: spec_vnops.c
        src/sys/net: bpf.c bpfdesc.h if_tap.c if_tun.c if_tun.h
        src/sys/nfs: nfs_bio.c
        src/sys/sys: proc.h
        src/sys/ufs/ext2fs: ext2fs_readwrite.c
        src/sys/ufs/ufs: ufs_readwrite.c
        src/sys/uvm: uvm_glue.c uvm_meter.c

Log Message:
Network protocol interrupts can now block on locks, so merge the globals
proclist_mutex and proclist_lock into a single adaptive mutex (proc_lock).
Implications:

- Inspecting process state requires thread context, so signals can no longer
  be sent from a hardware interrupt handler. Signal activity must be
  deferred to a soft interrupt or kthread.

- As the proc state locking is simplified, it's now safe to take exit()
  and wait() out from under kernel_lock.

- The system spends less time at IPL_SCHED, and there is less lock activity.


To generate a diff of this commit:
cvs rdiff -r1.21 -r1.22 src/sys/arch/i386/i386/mach_machdep.c
cvs rdiff -r1.23 -r1.24 src/sys/arch/powerpc/powerpc/mach_machdep.c
cvs rdiff -r1.159 -r1.160 src/sys/arch/vax/vax/pmap.c
cvs rdiff -r1.25 -r1.26 src/sys/compat/common/tty_43.c
cvs rdiff -r1.14 -r1.15 src/sys/compat/darwin/darwin_ptrace.c
cvs rdiff -r1.57 -r1.58 src/sys/compat/darwin/darwin_sysctl.c
cvs rdiff -r1.101 -r1.102 src/sys/compat/ibcs2/ibcs2_misc.c
cvs rdiff -r1.49 -r1.50 src/sys/compat/irix/irix_exec.c
cvs rdiff -r1.45 -r1.46 src/sys/compat/irix/irix_prctl.c
cvs rdiff -r1.103 -r1.104 src/sys/compat/linux/common/linux_exec.c
cvs rdiff -r1.94 -r1.95 src/sys/compat/linux/common/linux_file.c
cvs rdiff -r1.11 -r1.12 src/sys/compat/linux/common/linux_futex.c
cvs rdiff -r1.52 -r1.53 src/sys/compat/linux/common/linux_sched.c
cvs rdiff -r1.59 -r1.60 src/sys/compat/linux/common/linux_signal.c
cvs rdiff -r1.10 -r1.11 src/sys/compat/linux32/common/linux32_exec.c
cvs rdiff -r1.68 -r1.69 src/sys/compat/mach/mach_task.c
cvs rdiff -r1.52 -r1.53 src/sys/compat/netbsd32/netbsd32_fs.c
cvs rdiff -r1.140 -r1.141 src/sys/compat/svr4/svr4_misc.c
cvs rdiff -r1.238 -r1.239 src/sys/dev/audio.c
cvs rdiff -r1.63 -r1.64 src/sys/dev/midi.c
cvs rdiff -r1.46 -r1.47 src/sys/dev/sequencer.c
cvs rdiff -r1.48 -r1.49 src/sys/dev/pci/bktr/bktr_core.c
cvs rdiff -r1.18 -r1.19 src/sys/dev/pci/bktr/bktr_reg.h
cvs rdiff -r1.36 -r1.37 src/sys/dev/sbus/bpp.c
cvs rdiff -r1.12 -r1.13 src/sys/dev/sun/event_var.h
cvs rdiff -r1.79 -r1.80 src/sys/dev/usb/uhid.c
cvs rdiff -r1.111 -r1.112 src/sys/dev/usb/usb.c
cvs rdiff -r1.44 -r1.45 src/sys/dev/wscons/wsdisplay_compat_usl.c
cvs rdiff -r1.25 -r1.26 src/sys/dev/wscons/wsevent.c
cvs rdiff -r1.11 -r1.12 src/sys/dev/wscons/wseventvar.h
cvs rdiff -r1.49 -r1.50 src/sys/fs/msdosfs/msdosfs_vnops.c
cvs rdiff -r1.29 -r1.30 src/sys/fs/smbfs/smbfs_io.c
cvs rdiff -r1.31 -r1.32 src/sys/kern/core_elf32.c
cvs rdiff -r1.351 -r1.352 src/sys/kern/init_main.c
cvs rdiff -r1.131 -r1.132 src/sys/kern/init_sysctl.c
cvs rdiff -r1.84 -r1.85 src/sys/kern/kern_acct.c
cvs rdiff -r1.10 -r1.11 src/sys/kern/kern_core.c
cvs rdiff -r1.27 -r1.28 src/sys/kern/kern_cpu.c
cvs rdiff -r1.175 -r1.176 src/sys/kern/kern_descrip.c
cvs rdiff -r1.55 -r1.56 src/sys/kern/kern_event.c
cvs rdiff -r1.270 -r1.271 src/sys/kern/kern_exec.c
cvs rdiff -r1.202 -r1.203 src/sys/kern/kern_exit.c
cvs rdiff -r1.160 -r1.161 src/sys/kern/kern_fork.c
cvs rdiff -r1.140 -r1.141 src/sys/kern/kern_ktrace.c
cvs rdiff -r1.101 -r1.102 src/sys/kern/kern_lwp.c
cvs rdiff -r1.135 -r1.136 src/sys/kern/kern_proc.c
cvs rdiff -r1.105 -r1.106 src/sys/kern/kern_prot.c
cvs rdiff -r1.137 -r1.138 src/sys/kern/kern_resource.c
cvs rdiff -r1.275 -r1.276 src/sys/kern/kern_sig.c
cvs rdiff -r1.5 -r1.6 src/sys/kern/kern_stub.c
cvs rdiff -r1.227 -r1.228 src/sys/kern/kern_synch.c
cvs rdiff -r1.144 -r1.145 src/sys/kern/kern_time.c
cvs rdiff -r1.118 -r1.119 src/sys/kern/subr_prf.c
cvs rdiff -r1.16 -r1.17 src/sys/kern/sys_aio.c
cvs rdiff -r1.117 -r1.118 src/sys/kern/sys_generic.c
cvs rdiff -r1.37 -r1.38 src/sys/kern/sys_lwp.c
cvs rdiff -r1.9 -r1.10 src/sys/kern/sys_mqueue.c
cvs rdiff -r1.136 -r1.137 src/sys/kern/sys_process.c
cvs rdiff -r1.4 -r1.5 src/sys/kern/sys_pset.c
cvs rdiff -r1.19 -r1.20 src/sys/kern/sys_sched.c
cvs rdiff -r1.12 -r1.13 src/sys/kern/sys_sig.c
cvs rdiff -r1.219 -r1.220 src/sys/kern/tty.c
cvs rdiff -r1.36 -r1.37 src/sys/kern/tty_tty.c
cvs rdiff -r1.129 -r1.130 src/sys/kern/uipc_syscalls.c
cvs rdiff -r1.348 -r1.349 src/sys/kern/vfs_syscalls.c
cvs rdiff -r1.155 -r1.156 src/sys/kern/vfs_vnops.c
cvs rdiff -r1.43 -r1.44 src/sys/miscfs/procfs/procfs_ctl.c
cvs rdiff -r1.48 -r1.49 src/sys/miscfs/procfs/procfs_linux.c
cvs rdiff -r1.32 -r1.33 src/sys/miscfs/procfs/procfs_status.c
cvs rdiff -r1.86 -r1.87 src/sys/miscfs/procfs/procfs_subr.c
cvs rdiff -r1.166 -r1.167 src/sys/miscfs/procfs/procfs_vnops.c
cvs rdiff -r1.115 -r1.116 src/sys/miscfs/specfs/spec_vnops.c
cvs rdiff -r1.138 -r1.139 src/sys/net/bpf.c
cvs rdiff -r1.27 -r1.28 src/sys/net/bpfdesc.h
cvs rdiff -r1.41 -r1.42 src/sys/net/if_tap.c
cvs rdiff -r1.105 -r1.106 src/sys/net/if_tun.c
cvs rdiff -r1.15 -r1.16 src/sys/net/if_tun.h
cvs rdiff -r1.174 -r1.175 src/sys/nfs/nfs_bio.c
cvs rdiff -r1.271 -r1.272 src/sys/sys/proc.h
cvs rdiff -r1.50 -r1.51 src/sys/ufs/ext2fs/ext2fs_readwrite.c
cvs rdiff -r1.86 -r1.87 src/sys/ufs/ufs/ufs_readwrite.c
cvs rdiff -r1.124 -r1.125 src/sys/uvm/uvm_glue.c
cvs rdiff -r1.47 -r1.48 src/sys/uvm/uvm_meter.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Home | Main Index | Thread Index | Old Index