[odc] Daily src changes for 2007-10-10
ODC
auto at squish.net
Thu Oct 11 07:00:01 BST 2007
OpenBSD src changes summary for 2007-10-10
==========================================
distrib/sets distrib/sgi
etc/etc.sgi/disktab lib/libc
lib/libkvm lib/libssl
share/man sys/arch/alpha/alpha
sys/arch/amd64/amd64 sys/arch/amd64/conf
sys/arch/arm/arm sys/arch/arm/include
sys/arch/aviion/aviion sys/arch/hp300/hp300
sys/arch/hppa/hppa sys/arch/hppa/include
sys/arch/i386/i386 sys/arch/i386/include
sys/arch/luna88k/luna88k sys/arch/m68k/include
sys/arch/m68k/m68k sys/arch/m88k/include
sys/arch/m88k/m88k sys/arch/mac68k/mac68k
sys/arch/macppc/compile sys/arch/macppc/macppc
sys/arch/mips64/mips64 sys/arch/mvme68k/mvme68k
sys/arch/mvme88k/mvme88k sys/arch/powerpc/conf
sys/arch/powerpc/include sys/arch/powerpc/powerpc
sys/arch/sgi/localbus sys/arch/sgi/sgi
sys/arch/sh/include sys/arch/sh/sh
sys/arch/solbourne/solbourne sys/arch/sparc/conf
sys/arch/sparc/sparc sys/arch/sparc64/compile
sys/arch/sparc64/conf sys/arch/sparc64/dev
sys/arch/sparc64/sparc64 sys/arch/vax/include
sys/arch/vax/vax sys/conf
sys/dev/i2c sys/dev/mii
sys/dev/pci sys/dev/usb
sys/kern sys/sys
sys/uvm usr.bin/bgplg
usr.bin/calendar usr.sbin/dhcpd
usr.sbin/ospf6d
== distrib =========================================================== 01/07 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/distrib
sets
~ lists/comp/mi
> sync (deraadt@)
~ lists/comp/mi
> sync (deraadt@)
sgi
+ iso/Makefile
> a start at full sgi install cd (deraadt@)
== etc =============================================================== 02/07 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/etc
etc.sgi/disktab
~ etc.sgi/disktab
> entry for the install##.iso file we now create (deraadt@)
== lib =============================================================== 03/07 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/lib
libc
~ regex/regcomp.c
> add a proper test around allocset
> use a simpler way to allocated memory in allocset, mostly done by
> replacing malloc/realloc dance, by only one realloc
> add comments about variables that are not used uninitialized, even
> if gcc told the contrary
> another malloc/realloc -> realloc change
> Work initially started by otto@, and then I joined him
> ok otto@ ray@ (chl@)
libkvm
~ kvm_proc.c
> Make context switching much more MI:
> - Move the functionality of choosing a process from cpu_switch into
> a much simpler function: cpu_switchto. Instead of having the locore
> code walk the run queues, let the MI code choose the process we
> want to run and only implement the context switching itself in MD
> code.
> - Let MD context switching run without worrying about spls or locks.
> - Instead of having the idle loop implemented with special contexts
> in MD code, implement one idle proc for each cpu. make the idle
> loop MI with MD hooks.
> - Change the proc lists from the old style vax queues to TAILQs.
> - Change the sleep queue from vax queues to TAILQs. This makes
> wakeup() go from O(n^2) to O(n)
> there will be some MD fallout, but it will be fixed shortly.
> There's also a few cleanups to be done after this.
> deraadt@, kettenis@ ok (art@)
libssl
~ src/ssl/ssl_lib.c
> Replace use of strcpy(3) and other pointer goo in
> SSL_get_shared_ciphers() with strlcat(3).
> ok deraadt@ markus@ (moritz@)
== share ============================================================= 04/07 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/share
man
~ man4/rgephy.4
> Mention RTL8211B support. (jsg@)
~ man9/Makefile ~ man9/ctxsw.9
> Update to match cpu_switchto reality. (art@)
- man9/ctxsw.9 ~ man9/Makefile
+ man9/mi_switch.9
> rename man page to a real function name (deraadt@)
== sys =============================================================== 05/07 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/sys
arch/alpha/alpha
~ genassym.cf ~ locore.s
~ machdep.c ~ vm_machdep.c
> Make context switching much more MI:
> - Move the functionality of choosing a process from cpu_switch into
> a much simpler function: cpu_switchto. Instead of having the locore
> code walk the run queues, let the MI code choose the process we
> want to run and only implement the context switching itself in MD
> code.
> - Let MD context switching run without worrying about spls or locks.
> - Instead of having the idle loop implemented with special contexts
> in MD code, implement one idle proc for each cpu. make the idle
> loop MI with MD hooks.
> - Change the proc lists from the old style vax queues to TAILQs.
> - Change the sleep queue from vax queues to TAILQs. This makes
> wakeup() go from O(n^2) to O(n)
> there will be some MD fallout, but it will be fixed shortly.
> There's also a few cleanups to be done after this.
> deraadt@, kettenis@ ok (art@)
arch/amd64/amd64
~ cpu.c ~ genassym.cf
~ locore.S ~ mptramp.S
~ vm_machdep.c
> Make context switching much more MI:
> - Move the functionality of choosing a process from cpu_switch into
> a much simpler function: cpu_switchto. Instead of having the locore
> code walk the run queues, let the MI code choose the process we
> want to run and only implement the context switching itself in MD
> code.
> - Let MD context switching run without worrying about spls or locks.
> - Instead of having the idle loop implemented with special contexts
> in MD code, implement one idle proc for each cpu. make the idle
> loop MI with MD hooks.
> - Change the proc lists from the old style vax queues to TAILQs.
> - Change the sleep queue from vax queues to TAILQs. This makes
> wakeup() go from O(n^2) to O(n)
> there will be some MD fallout, but it will be fixed shortly.
> There's also a few cleanups to be done after this.
> deraadt@, kettenis@ ok (art@)
arch/amd64/conf
~ files.amd64
> Make context switching much more MI:
> - Move the functionality of choosing a process from cpu_switch into
> a much simpler function: cpu_switchto. Instead of having the locore
> code walk the run queues, let the MI code choose the process we
> want to run and only implement the context switching itself in MD
> code.
> - Let MD context switching run without worrying about spls or locks.
> - Instead of having the idle loop implemented with special contexts
> in MD code, implement one idle proc for each cpu. make the idle
> loop MI with MD hooks.
> - Change the proc lists from the old style vax queues to TAILQs.
> - Change the sleep queue from vax queues to TAILQs. This makes
> wakeup() go from O(n^2) to O(n)
> there will be some MD fallout, but it will be fixed shortly.
> There's also a few cleanups to be done after this.
> deraadt@, kettenis@ ok (art@)
arch/arm/arm
~ cpuswitch.S ~ genassym.cf
~ pmap.c ~ vm_machdep.c
> Make context switching much more MI:
> - Move the functionality of choosing a process from cpu_switch into
> a much simpler function: cpu_switchto. Instead of having the locore
> code walk the run queues, let the MI code choose the process we
> want to run and only implement the context switching itself in MD
> code.
> - Let MD context switching run without worrying about spls or locks.
> - Instead of having the idle loop implemented with special contexts
> in MD code, implement one idle proc for each cpu. make the idle
> loop MI with MD hooks.
> - Change the proc lists from the old style vax queues to TAILQs.
> - Change the sleep queue from vax queues to TAILQs. This makes
> wakeup() go from O(n^2) to O(n)
> there will be some MD fallout, but it will be fixed shortly.
> There's also a few cleanups to be done after this.
> deraadt@, kettenis@ ok (art@)
arch/arm/include
~ pmap.h
> Make context switching much more MI:
> - Move the functionality of choosing a process from cpu_switch into
> a much simpler function: cpu_switchto. Instead of having the locore
> code walk the run queues, let the MI code choose the process we
> want to run and only implement the context switching itself in MD
> code.
> - Let MD context switching run without worrying about spls or locks.
> - Instead of having the idle loop implemented with special contexts
> in MD code, implement one idle proc for each cpu. make the idle
> loop MI with MD hooks.
> - Change the proc lists from the old style vax queues to TAILQs.
> - Change the sleep queue from vax queues to TAILQs. This makes
> wakeup() go from O(n^2) to O(n)
> there will be some MD fallout, but it will be fixed shortly.
> There's also a few cleanups to be done after this.
> deraadt@, kettenis@ ok (art@)
arch/aviion/aviion
~ locore.S ~ machdep.c
> Make context switching much more MI:
> - Move the functionality of choosing a process from cpu_switch into
> a much simpler function: cpu_switchto. Instead of having the locore
> code walk the run queues, let the MI code choose the process we
> want to run and only implement the context switching itself in MD
> code.
> - Let MD context switching run without worrying about spls or locks.
> - Instead of having the idle loop implemented with special contexts
> in MD code, implement one idle proc for each cpu. make the idle
> loop MI with MD hooks.
> - Change the proc lists from the old style vax queues to TAILQs.
> - Change the sleep queue from vax queues to TAILQs. This makes
> wakeup() go from O(n^2) to O(n)
> there will be some MD fallout, but it will be fixed shortly.
> There's also a few cleanups to be done after this.
> deraadt@, kettenis@ ok (art@)
arch/hp300/hp300
~ locore.s ~ vm_machdep.c
> Make context switching much more MI:
> - Move the functionality of choosing a process from cpu_switch into
> a much simpler function: cpu_switchto. Instead of having the locore
> code walk the run queues, let the MI code choose the process we
> want to run and only implement the context switching itself in MD
> code.
> - Let MD context switching run without worrying about spls or locks.
> - Instead of having the idle loop implemented with special contexts
> in MD code, implement one idle proc for each cpu. make the idle
> loop MI with MD hooks.
> - Change the proc lists from the old style vax queues to TAILQs.
> - Change the sleep queue from vax queues to TAILQs. This makes
> wakeup() go from O(n^2) to O(n)
> there will be some MD fallout, but it will be fixed shortly.
> There's also a few cleanups to be done after this.
> deraadt@, kettenis@ ok (art@)
arch/hppa/hppa
~ genassym.cf ~ locore.S
~ vm_machdep.c
> Make context switching much more MI:
> - Move the functionality of choosing a process from cpu_switch into
> a much simpler function: cpu_switchto. Instead of having the locore
> code walk the run queues, let the MI code choose the process we
> want to run and only implement the context switching itself in MD
> code.
> - Let MD context switching run without worrying about spls or locks.
> - Instead of having the idle loop implemented with special contexts
> in MD code, implement one idle proc for each cpu. make the idle
> loop MI with MD hooks.
> - Change the proc lists from the old style vax queues to TAILQs.
> - Change the sleep queue from vax queues to TAILQs. This makes
> wakeup() go from O(n^2) to O(n)
> there will be some MD fallout, but it will be fixed shortly.
> There's also a few cleanups to be done after this.
> deraadt@, kettenis@ ok (art@)
arch/hppa/include
~ cpu.h
> Make context switching much more MI:
> - Move the functionality of choosing a process from cpu_switch into
> a much simpler function: cpu_switchto. Instead of having the locore
> code walk the run queues, let the MI code choose the process we
> want to run and only implement the context switching itself in MD
> code.
> - Let MD context switching run without worrying about spls or locks.
> - Instead of having the idle loop implemented with special contexts
> in MD code, implement one idle proc for each cpu. make the idle
> loop MI with MD hooks.
> - Change the proc lists from the old style vax queues to TAILQs.
> - Change the sleep queue from vax queues to TAILQs. This makes
> wakeup() go from O(n^2) to O(n)
> there will be some MD fallout, but it will be fixed shortly.
> There's also a few cleanups to be done after this.
> deraadt@, kettenis@ ok (art@)
arch/i386/i386
~ trap.c
> Change argsize from size_t to short, since it only stores a short
> value. Fixes a format string error.
> Pointed out by deraadt, OK miod. (ray@)
~ cpu.c ~ genassym.cf
~ locore.s ~ mptramp.s
~ vm_machdep.c
> Make context switching much more MI:
> - Move the functionality of choosing a process from cpu_switch into
> a much simpler function: cpu_switchto. Instead of having the locore
> code walk the run queues, let the MI code choose the process we
> want to run and only implement the context switching itself in MD
> code.
> - Let MD context switching run without worrying about spls or locks.
> - Instead of having the idle loop implemented with special contexts
> in MD code, implement one idle proc for each cpu. make the idle
> loop MI with MD hooks.
> - Change the proc lists from the old style vax queues to TAILQs.
> - Change the sleep queue from vax queues to TAILQs. This makes
> wakeup() go from O(n^2) to O(n)
> there will be some MD fallout, but it will be fixed shortly.
> There's also a few cleanups to be done after this.
> deraadt@, kettenis@ ok (art@)
arch/i386/include
~ frame.h
> Make context switching much more MI:
> - Move the functionality of choosing a process from cpu_switch into
> a much simpler function: cpu_switchto. Instead of having the locore
> code walk the run queues, let the MI code choose the process we
> want to run and only implement the context switching itself in MD
> code.
> - Let MD context switching run without worrying about spls or locks.
> - Instead of having the idle loop implemented with special contexts
> in MD code, implement one idle proc for each cpu. make the idle
> loop MI with MD hooks.
> - Change the proc lists from the old style vax queues to TAILQs.
> - Change the sleep queue from vax queues to TAILQs. This makes
> wakeup() go from O(n^2) to O(n)
> there will be some MD fallout, but it will be fixed shortly.
> There's also a few cleanups to be done after this.
> deraadt@, kettenis@ ok (art@)
arch/luna88k/luna88k
~ locore.S ~ machdep.c
> Make context switching much more MI:
> - Move the functionality of choosing a process from cpu_switch into
> a much simpler function: cpu_switchto. Instead of having the locore
> code walk the run queues, let the MI code choose the process we
> want to run and only implement the context switching itself in MD
> code.
> - Let MD context switching run without worrying about spls or locks.
> - Instead of having the idle loop implemented with special contexts
> in MD code, implement one idle proc for each cpu. make the idle
> loop MI with MD hooks.
> - Change the proc lists from the old style vax queues to TAILQs.
> - Change the sleep queue from vax queues to TAILQs. This makes
> wakeup() go from O(n^2) to O(n)
> there will be some MD fallout, but it will be fixed shortly.
> There's also a few cleanups to be done after this.
> deraadt@, kettenis@ ok (art@)
arch/m68k/include
~ cpu.h
> Make context switching much more MI:
> - Move the functionality of choosing a process from cpu_switch into
> a much simpler function: cpu_switchto. Instead of having the locore
> code walk the run queues, let the MI code choose the process we
> want to run and only implement the context switching itself in MD
> code.
> - Let MD context switching run without worrying about spls or locks.
> - Instead of having the idle loop implemented with special contexts
> in MD code, implement one idle proc for each cpu. make the idle
> loop MI with MD hooks.
> - Change the proc lists from the old style vax queues to TAILQs.
> - Change the sleep queue from vax queues to TAILQs. This makes
> wakeup() go from O(n^2) to O(n)
> there will be some MD fallout, but it will be fixed shortly.
> There's also a few cleanups to be done after this.
> deraadt@, kettenis@ ok (art@)
arch/m68k/m68k
~ genassym.cf ~ proc_subr.s
> Make context switching much more MI:
> - Move the functionality of choosing a process from cpu_switch into
> a much simpler function: cpu_switchto. Instead of having the locore
> code walk the run queues, let the MI code choose the process we
> want to run and only implement the context switching itself in MD
> code.
> - Let MD context switching run without worrying about spls or locks.
> - Instead of having the idle loop implemented with special contexts
> in MD code, implement one idle proc for each cpu. make the idle
> loop MI with MD hooks.
> - Change the proc lists from the old style vax queues to TAILQs.
> - Change the sleep queue from vax queues to TAILQs. This makes
> wakeup() go from O(n^2) to O(n)
> there will be some MD fallout, but it will be fixed shortly.
> There's also a few cleanups to be done after this.
> deraadt@, kettenis@ ok (art@)
arch/m88k/include
~ cpu.h
> Make context switching much more MI:
> - Move the functionality of choosing a process from cpu_switch into
> a much simpler function: cpu_switchto. Instead of having the locore
> code walk the run queues, let the MI code choose the process we
> want to run and only implement the context switching itself in MD
> code.
> - Let MD context switching run without worrying about spls or locks.
> - Instead of having the idle loop implemented with special contexts
> in MD code, implement one idle proc for each cpu. make the idle
> loop MI with MD hooks.
> - Change the proc lists from the old style vax queues to TAILQs.
> - Change the sleep queue from vax queues to TAILQs. This makes
> wakeup() go from O(n^2) to O(n)
> there will be some MD fallout, but it will be fixed shortly.
> There's also a few cleanups to be done after this.
> deraadt@, kettenis@ ok (art@)
arch/m88k/m88k
~ genassym.cf ~ m88k_machdep.c
~ process.S ~ vm_machdep.c
> Make context switching much more MI:
> - Move the functionality of choosing a process from cpu_switch into
> a much simpler function: cpu_switchto. Instead of having the locore
> code walk the run queues, let the MI code choose the process we
> want to run and only implement the context switching itself in MD
> code.
> - Let MD context switching run without worrying about spls or locks.
> - Instead of having the idle loop implemented with special contexts
> in MD code, implement one idle proc for each cpu. make the idle
> loop MI with MD hooks.
> - Change the proc lists from the old style vax queues to TAILQs.
> - Change the sleep queue from vax queues to TAILQs. This makes
> wakeup() go from O(n^2) to O(n)
> there will be some MD fallout, but it will be fixed shortly.
> There's also a few cleanups to be done after this.
> deraadt@, kettenis@ ok (art@)
arch/mac68k/mac68k
~ locore.s ~ vm_machdep.c
> Make context switching much more MI:
> - Move the functionality of choosing a process from cpu_switch into
> a much simpler function: cpu_switchto. Instead of having the locore
> code walk the run queues, let the MI code choose the process we
> want to run and only implement the context switching itself in MD
> code.
> - Let MD context switching run without worrying about spls or locks.
> - Instead of having the idle loop implemented with special contexts
> in MD code, implement one idle proc for each cpu. make the idle
> loop MI with MD hooks.
> - Change the proc lists from the old style vax queues to TAILQs.
> - Change the sleep queue from vax queues to TAILQs. This makes
> wakeup() go from O(n^2) to O(n)
> there will be some MD fallout, but it will be fixed shortly.
> There's also a few cleanups to be done after this.
> deraadt@, kettenis@ ok (art@)
arch/macppc/compile
~ .cvsignore
> GENERIC.MP dirs will show up here some time (deraadt@)
arch/macppc/macppc
~ cpu.c ~ genassym.cf
~ locore.S
> Make context switching much more MI:
> - Move the functionality of choosing a process from cpu_switch into
> a much simpler function: cpu_switchto. Instead of having the locore
> code walk the run queues, let the MI code choose the process we
> want to run and only implement the context switching itself in MD
> code.
> - Let MD context switching run without worrying about spls or locks.
> - Instead of having the idle loop implemented with special contexts
> in MD code, implement one idle proc for each cpu. make the idle
> loop MI with MD hooks.
> - Change the proc lists from the old style vax queues to TAILQs.
> - Change the sleep queue from vax queues to TAILQs. This makes
> wakeup() go from O(n^2) to O(n)
> there will be some MD fallout, but it will be fixed shortly.
> There's also a few cleanups to be done after this.
> deraadt@, kettenis@ ok (art@)
~ locore.S
> Disable PSL_POW code for now in cpu_idle_cycle, because it does not yet
> do the cache flush / instruction cache disable / tlb invalidate dance.
> For some reason in a switchto world this suddenly matters or machines
> become really slow running NFS... huh? figured out with kettenis (deraadt@)
arch/mips64/mips64
~ context.S ~ db_machdep.c
~ vm_machdep.c
> Make context switching much more MI:
> - Move the functionality of choosing a process from cpu_switch into
> a much simpler function: cpu_switchto. Instead of having the locore
> code walk the run queues, let the MI code choose the process we
> want to run and only implement the context switching itself in MD
> code.
> - Let MD context switching run without worrying about spls or locks.
> - Instead of having the idle loop implemented with special contexts
> in MD code, implement one idle proc for each cpu. make the idle
> loop MI with MD hooks.
> - Change the proc lists from the old style vax queues to TAILQs.
> - Change the sleep queue from vax queues to TAILQs. This makes
> wakeup() go from O(n^2) to O(n)
> there will be some MD fallout, but it will be fixed shortly.
> There's also a few cleanups to be done after this.
> deraadt@, kettenis@ ok (art@)
arch/mvme68k/mvme68k
~ locore.s ~ vm_machdep.c
> Make context switching much more MI:
> - Move the functionality of choosing a process from cpu_switch into
> a much simpler function: cpu_switchto. Instead of having the locore
> code walk the run queues, let the MI code choose the process we
> want to run and only implement the context switching itself in MD
> code.
> - Let MD context switching run without worrying about spls or locks.
> - Instead of having the idle loop implemented with special contexts
> in MD code, implement one idle proc for each cpu. make the idle
> loop MI with MD hooks.
> - Change the proc lists from the old style vax queues to TAILQs.
> - Change the sleep queue from vax queues to TAILQs. This makes
> wakeup() go from O(n^2) to O(n)
> there will be some MD fallout, but it will be fixed shortly.
> There's also a few cleanups to be done after this.
> deraadt@, kettenis@ ok (art@)
arch/mvme88k/mvme88k
~ locore.S ~ machdep.c
> Make context switching much more MI:
> - Move the functionality of choosing a process from cpu_switch into
> a much simpler function: cpu_switchto. Instead of having the locore
> code walk the run queues, let the MI code choose the process we
> want to run and only implement the context switching itself in MD
> code.
> - Let MD context switching run without worrying about spls or locks.
> - Instead of having the idle loop implemented with special contexts
> in MD code, implement one idle proc for each cpu. make the idle
> loop MI with MD hooks.
> - Change the proc lists from the old style vax queues to TAILQs.
> - Change the sleep queue from vax queues to TAILQs. This makes
> wakeup() go from O(n^2) to O(n)
> there will be some MD fallout, but it will be fixed shortly.
> There's also a few cleanups to be done after this.
> deraadt@, kettenis@ ok (art@)
arch/powerpc/conf
~ files.powerpc
> Make context switching much more MI:
> - Move the functionality of choosing a process from cpu_switch into
> a much simpler function: cpu_switchto. Instead of having the locore
> code walk the run queues, let the MI code choose the process we
> want to run and only implement the context switching itself in MD
> code.
> - Let MD context switching run without worrying about spls or locks.
> - Instead of having the idle loop implemented with special contexts
> in MD code, implement one idle proc for each cpu. make the idle
> loop MI with MD hooks.
> - Change the proc lists from the old style vax queues to TAILQs.
> - Change the sleep queue from vax queues to TAILQs. This makes
> wakeup() go from O(n^2) to O(n)
> there will be some MD fallout, but it will be fixed shortly.
> There's also a few cleanups to be done after this.
> deraadt@, kettenis@ ok (art@)
arch/powerpc/include
~ pcb.h
> Make context switching much more MI:
> - Move the functionality of choosing a process from cpu_switch into
> a much simpler function: cpu_switchto. Instead of having the locore
> code walk the run queues, let the MI code choose the process we
> want to run and only implement the context switching itself in MD
> code.
> - Let MD context switching run without worrying about spls or locks.
> - Instead of having the idle loop implemented with special contexts
> in MD code, implement one idle proc for each cpu. make the idle
> loop MI with MD hooks.
> - Change the proc lists from the old style vax queues to TAILQs.
> - Change the sleep queue from vax queues to TAILQs. This makes
> wakeup() go from O(n^2) to O(n)
> there will be some MD fallout, but it will be fixed shortly.
> There's also a few cleanups to be done after this.
> deraadt@, kettenis@ ok (art@)
arch/powerpc/powerpc
~ vm_machdep.c
> Make context switching much more MI:
> - Move the functionality of choosing a process from cpu_switch into
> a much simpler function: cpu_switchto. Instead of having the locore
> code walk the run queues, let the MI code choose the process we
> want to run and only implement the context switching itself in MD
> code.
> - Let MD context switching run without worrying about spls or locks.
> - Instead of having the idle loop implemented with special contexts
> in MD code, implement one idle proc for each cpu. make the idle
> loop MI with MD hooks.
> - Change the proc lists from the old style vax queues to TAILQs.
> - Change the sleep queue from vax queues to TAILQs. This makes
> wakeup() go from O(n^2) to O(n)
> there will be some MD fallout, but it will be fixed shortly.
> There's also a few cleanups to be done after this.
> deraadt@, kettenis@ ok (art@)
arch/sgi/localbus
~ macebus.c
> Make context switching much more MI:
> - Move the functionality of choosing a process from cpu_switch into
> a much simpler function: cpu_switchto. Instead of having the locore
> code walk the run queues, let the MI code choose the process we
> want to run and only implement the context switching itself in MD
> code.
> - Let MD context switching run without worrying about spls or locks.
> - Instead of having the idle loop implemented with special contexts
> in MD code, implement one idle proc for each cpu. make the idle
> loop MI with MD hooks.
> - Change the proc lists from the old style vax queues to TAILQs.
> - Change the sleep queue from vax queues to TAILQs. This makes
> wakeup() go from O(n^2) to O(n)
> there will be some MD fallout, but it will be fixed shortly.
> There's also a few cleanups to be done after this.
> deraadt@, kettenis@ ok (art@)
arch/sgi/sgi
~ genassym.cf
> Make context switching much more MI:
> - Move the functionality of choosing a process from cpu_switch into
> a much simpler function: cpu_switchto. Instead of having the locore
> code walk the run queues, let the MI code choose the process we
> want to run and only implement the context switching itself in MD
> code.
> - Let MD context switching run without worrying about spls or locks.
> - Instead of having the idle loop implemented with special contexts
> in MD code, implement one idle proc for each cpu. make the idle
> loop MI with MD hooks.
> - Change the proc lists from the old style vax queues to TAILQs.
> - Change the sleep queue from vax queues to TAILQs. This makes
> wakeup() go from O(n^2) to O(n)
> there will be some MD fallout, but it will be fixed shortly.
> There's also a few cleanups to be done after this.
> deraadt@, kettenis@ ok (art@)
arch/sh/include
~ cpu.h
> Make context switching much more MI:
> - Move the functionality of choosing a process from cpu_switch into
> a much simpler function: cpu_switchto. Instead of having the locore
> code walk the run queues, let the MI code choose the process we
> want to run and only implement the context switching itself in MD
> code.
> - Let MD context switching run without worrying about spls or locks.
> - Instead of having the idle loop implemented with special contexts
> in MD code, implement one idle proc for each cpu. make the idle
> loop MI with MD hooks.
> - Change the proc lists from the old style vax queues to TAILQs.
> - Change the sleep queue from vax queues to TAILQs. This makes
> wakeup() go from O(n^2) to O(n)
> there will be some MD fallout, but it will be fixed shortly.
> There's also a few cleanups to be done after this.
> deraadt@, kettenis@ ok (art@)
arch/sh/sh
~ genassym.cf ~ locore_c.c
~ locore_subr.S ~ sh_machdep.c
> Make context switching much more MI:
> - Move the functionality of choosing a process from cpu_switch into
> a much simpler function: cpu_switchto. Instead of having the locore
> code walk the run queues, let the MI code choose the process we
> want to run and only implement the context switching itself in MD
> code.
> - Let MD context switching run without worrying about spls or locks.
> - Instead of having the idle loop implemented with special contexts
> in MD code, implement one idle proc for each cpu. make the idle
> loop MI with MD hooks.
> - Change the proc lists from the old style vax queues to TAILQs.
> - Change the sleep queue from vax queues to TAILQs. This makes
> wakeup() go from O(n^2) to O(n)
> there will be some MD fallout, but it will be fixed shortly.
> There's also a few cleanups to be done after this.
> deraadt@, kettenis@ ok (art@)
arch/solbourne/solbourne
~ locore.s
> Make context switching much more MI:
> - Move the functionality of choosing a process from cpu_switch into
> a much simpler function: cpu_switchto. Instead of having the locore
> code walk the run queues, let the MI code choose the process we
> want to run and only implement the context switching itself in MD
> code.
> - Let MD context switching run without worrying about spls or locks.
> - Instead of having the idle loop implemented with special contexts
> in MD code, implement one idle proc for each cpu. make the idle
> loop MI with MD hooks.
> - Change the proc lists from the old style vax queues to TAILQs.
> - Change the sleep queue from vax queues to TAILQs. This makes
> wakeup() go from O(n^2) to O(n)
> there will be some MD fallout, but it will be fixed shortly.
> There's also a few cleanups to be done after this.
> deraadt@, kettenis@ ok (art@)
arch/sparc/conf
~ files.sparc
> Make context switching much more MI:
> - Move the functionality of choosing a process from cpu_switch into
> a much simpler function: cpu_switchto. Instead of having the locore
> code walk the run queues, let the MI code choose the process we
> want to run and only implement the context switching itself in MD
> code.
> - Let MD context switching run without worrying about spls or locks.
> - Instead of having the idle loop implemented with special contexts
> in MD code, implement one idle proc for each cpu. make the idle
> loop MI with MD hooks.
> - Change the proc lists from the old style vax queues to TAILQs.
> - Change the sleep queue from vax queues to TAILQs. This makes
> wakeup() go from O(n^2) to O(n)
> there will be some MD fallout, but it will be fixed shortly.
> There's also a few cleanups to be done after this.
> deraadt@, kettenis@ ok (art@)
arch/sparc/sparc
~ locore.s ~ locore2.c
~ vm_machdep.c
> Make context switching much more MI:
> - Move the functionality of choosing a process from cpu_switch into
> a much simpler function: cpu_switchto. Instead of having the locore
> code walk the run queues, let the MI code choose the process we
> want to run and only implement the context switching itself in MD
> code.
> - Let MD context switching run without worrying about spls or locks.
> - Instead of having the idle loop implemented with special contexts
> in MD code, implement one idle proc for each cpu. make the idle
> loop MI with MD hooks.
> - Change the proc lists from the old style vax queues to TAILQs.
> - Change the sleep queue from vax queues to TAILQs. This makes
> wakeup() go from O(n^2) to O(n)
> there will be some MD fallout, but it will be fixed shortly.
> There's also a few cleanups to be done after this.
> deraadt@, kettenis@ ok (art@)
arch/sparc64/compile
~ .cvsignore
> prepare for the future (deraadt@)
arch/sparc64/conf
~ files.sparc64
> Make context switching much more MI:
> - Move the functionality of choosing a process from cpu_switch into
> a much simpler function: cpu_switchto. Instead of having the locore
> code walk the run queues, let the MI code choose the process we
> want to run and only implement the context switching itself in MD
> code.
> - Let MD context switching run without worrying about spls or locks.
> - Instead of having the idle loop implemented with special contexts
> in MD code, implement one idle proc for each cpu. make the idle
> loop MI with MD hooks.
> - Change the proc lists from the old style vax queues to TAILQs.
> - Change the sleep queue from vax queues to TAILQs. This makes
> wakeup() go from O(n^2) to O(n)
> there will be some MD fallout, but it will be fixed shortly.
> There's also a few cleanups to be done after this.
> deraadt@, kettenis@ ok (art@)
arch/sparc64/dev
~ schizo.c ~ pyro.c
> malloc+bzero -> malloc+M_ZERO. Use 'malloc(sizeof(*p) ...' idiom.
> This completes my bzero/memset(,0,) -> M_ZERO sweep of the tree.
> ok kettenis@ (krw@)
arch/sparc64/sparc64
~ locore.s ~ vm_machdep.c
> Make context switching much more MI:
> - Move the functionality of choosing a process from cpu_switch into
> a much simpler function: cpu_switchto. Instead of having the locore
> code walk the run queues, let the MI code choose the process we
> want to run and only implement the context switching itself in MD
> code.
> - Let MD context switching run without worrying about spls or locks.
> - Instead of having the idle loop implemented with special contexts
> in MD code, implement one idle proc for each cpu. make the idle
> loop MI with MD hooks.
> - Change the proc lists from the old style vax queues to TAILQs.
> - Change the sleep queue from vax queues to TAILQs. This makes
> wakeup() go from O(n^2) to O(n)
> there will be some MD fallout, but it will be fixed shortly.
> There's also a few cleanups to be done after this.
> deraadt@, kettenis@ ok (art@)
arch/vax/include
~ cpu.h ~ macros.h
> Make context switching much more MI:
> - Move the functionality of choosing a process from cpu_switch into
> a much simpler function: cpu_switchto. Instead of having the locore
> code walk the run queues, let the MI code choose the process we
> want to run and only implement the context switching itself in MD
> code.
> - Let MD context switching run without worrying about spls or locks.
> - Instead of having the idle loop implemented with special contexts
> in MD code, implement one idle proc for each cpu. make the idle
> loop MI with MD hooks.
> - Change the proc lists from the old style vax queues to TAILQs.
> - Change the sleep queue from vax queues to TAILQs. This makes
> wakeup() go from O(n^2) to O(n)
> there will be some MD fallout, but it will be fixed shortly.
> There's also a few cleanups to be done after this.
> deraadt@, kettenis@ ok (art@)
arch/vax/vax
~ subr.s ~ vm_machdep.c
> Make context switching much more MI:
> - Move the functionality of choosing a process from cpu_switch into
> a much simpler function: cpu_switchto. Instead of having the locore
> code walk the run queues, let the MI code choose the process we
> want to run and only implement the context switching itself in MD
> code.
> - Let MD context switching run without worrying about spls or locks.
> - Instead of having the idle loop implemented with special contexts
> in MD code, implement one idle proc for each cpu. make the idle
> loop MI with MD hooks.
> - Change the proc lists from the old style vax queues to TAILQs.
> - Change the sleep queue from vax queues to TAILQs. This makes
> wakeup() go from O(n^2) to O(n)
> there will be some MD fallout, but it will be fixed shortly.
> There's also a few cleanups to be done after this.
> deraadt@, kettenis@ ok (art@)
conf
~ files
> Make context switching much more MI:
> - Move the functionality of choosing a process from cpu_switch into
> a much simpler function: cpu_switchto. Instead of having the locore
> code walk the run queues, let the MI code choose the process we
> want to run and only implement the context switching itself in MD
> code.
> - Let MD context switching run without worrying about spls or locks.
> - Instead of having the idle loop implemented with special contexts
> in MD code, implement one idle proc for each cpu. make the idle
> loop MI with MD hooks.
> - Change the proc lists from the old style vax queues to TAILQs.
> - Change the sleep queue from vax queues to TAILQs. This makes
> wakeup() go from O(n^2) to O(n)
> there will be some MD fallout, but it will be fixed shortly.
> There's also a few cleanups to be done after this.
> deraadt@, kettenis@ ok (art@)
dev/i2c
~ spdmem.c
> correct : printing; ok jsg (deraadt@)
dev/mii
~ rgephy.c ~ rgephyreg.h
> Add support for the RTL8211B PHY based on a patch by
> Michael Eisele for FreeBSD.
> This fixes nfe/rgephy for ckuethe & couderc.
> Tested on re/rgephy by pyr. (jsg@)
dev/pci
~ pcidevs.h ~ pcidevs_data.h
> regen (dlg@)
~ pcidevs
> add the mellanox vendor id (dlg@)
~ pcidevs.h ~ pcidevs_data.h
> regen (dlg@)
~ pcidevs
> add the pci product id for the Mellanox ConnectX EN adapters. (dlg@)
~ azalia.c ~ azalia.h
~ azalia_codec.c
> Rework the debug dmesg to perform a more complete codec dump.
> Tested by jmc, ckuethe, kettenis and jakemsr. (deanna@)
~ if_vge.c
> Fix some obviously bogus code in vge_newbuf(). Should fix PR 5582.
> ok claudio@ (kettenis@)
dev/usb
~ usbdevs.h ~ usbdevs_data.h
> sync (deraadt@)
~ usbdevs
> apple products; from dunceor (deraadt@)
~ usbdevs.h ~ usbdevs_data.h
> sync (deraadt@)
~ usbdevs
> oops (deraadt@)
~ usbdevs
> shortening (deraadt@)
~ usbdevs.h ~ usbdevs_data.h
> sync (deraadt@)
kern
~ init_main.c ~ kern_clock.c
~ kern_exit.c ~ kern_fork.c
~ kern_proc.c ~ kern_synch.c
~ kern_sysctl.c ~ sched_bsd.c
+ kern_sched.c
> Make context switching much more MI:
> - Move the functionality of choosing a process from cpu_switch into
> a much simpler function: cpu_switchto. Instead of having the locore
> code walk the run queues, let the MI code choose the process we
> want to run and only implement the context switching itself in MD
> code.
> - Let MD context switching run without worrying about spls or locks.
> - Instead of having the idle loop implemented with special contexts
> in MD code, implement one idle proc for each cpu. make the idle
> loop MI with MD hooks.
> - Change the proc lists from the old style vax queues to TAILQs.
> - Change the sleep queue from vax queues to TAILQs. This makes
> wakeup() go from O(n^2) to O(n)
> there will be some MD fallout, but it will be fixed shortly.
> There's also a few cleanups to be done after this.
> deraadt@, kettenis@ ok (art@)
sys
~ proc.h ~ sched.h
> Make context switching much more MI:
> - Move the functionality of choosing a process from cpu_switch into
> a much simpler function: cpu_switchto. Instead of having the locore
> code walk the run queues, let the MI code choose the process we
> want to run and only implement the context switching itself in MD
> code.
> - Let MD context switching run without worrying about spls or locks.
> - Instead of having the idle loop implemented with special contexts
> in MD code, implement one idle proc for each cpu. make the idle
> loop MI with MD hooks.
> - Change the proc lists from the old style vax queues to TAILQs.
> - Change the sleep queue from vax queues to TAILQs. This makes
> wakeup() go from O(n^2) to O(n)
> there will be some MD fallout, but it will be fixed shortly.
> There's also a few cleanups to be done after this.
> deraadt@, kettenis@ ok (art@)
uvm
~ uvm_meter.c
> Make context switching much more MI:
> - Move the functionality of choosing a process from cpu_switch into
> a much simpler function: cpu_switchto. Instead of having the locore
> code walk the run queues, let the MI code choose the process we
> want to run and only implement the context switching itself in MD
> code.
> - Let MD context switching run without worrying about spls or locks.
> - Instead of having the idle loop implemented with special contexts
> in MD code, implement one idle proc for each cpu. make the idle
> loop MI with MD hooks.
> - Change the proc lists from the old style vax queues to TAILQs.
> - Change the sleep queue from vax queues to TAILQs. This makes
> wakeup() go from O(n^2) to O(n)
> there will be some MD fallout, but it will be fixed shortly.
> There's also a few cleanups to be done after this.
> deraadt@, kettenis@ ok (art@)
== usr.bin =========================================================== 06/07 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin
bgplg
~ bgplg.c
> Limit the allowed characters in a request to [a-zA-Z0-9-_.:/= ] everything
> else will cause an "invalid character in input" error.
> Fixes xss issue noticed by Anton Karpov.
> OK henning@, sthen@ (claudio@)
calendar
~ calendars/calendar.computer
> date UCB rescinded term 3; Mikolaj Kucharski (deraadt@)
== usr.sbin ========================================================== 07/07 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/usr.sbin
dhcpd
~ options.c
TAGGED OPENBSD_4_2
> merge fix from current, prompted by deraadt. original commit message:
> "Minimum IP MTU" means what it says. Ensure that packets returned by
> dhcpd are the minimum size or larger no matter what the client thinks
> the minimum allowable size is. Found by Nahuel Riva and Gera Richarte.
> Fix by millert at . (ckuethe@)
ospf6d
~ hello.c
> Turn on the V6 and E bits in hello messages. This makes other OSPFv3
> routers
> a bit more happy. The E bit should be turned of in stub areas but there is
> no
> support for those at the moment. OK norby@ (claudio@)
~ kroute.c
> Address scope was probably the most stupid idea comming out of IPv6.
> Abusing the 3rd and 4th byte of a ff02::/32 address to store the scope is
> wrong wrong wrong. Depending on the calls it is not possible to compare
> addresses with IN6_ARE_ADDR_EQUAL(). Remove the scope hack when fetching
> interface addresses so that we never rely on that inside ospf6d.
> OK norby@ (claudio@)
~ database.c ~ hello.c
~ lsack.c ~ lsreq.c
~ lsupdate.c ~ ospfe.h
~ packet.c
> send_packet() now takes a struct in6_addr as destination instead of a
> struct sockaddr_in6 and builds the struct sockaddr_in6 internaly adding
> scope
> if necessary. While there switch to sendto() we don't need any of the
> sendmsg()
> features here.
> OK norby@ (claudio@)
===============================================================================
More information about the odc
mailing list