[odc] Daily src changes for 2007-05-25
ODC
auto at squish.net
Sat May 26 07:00:01 BST 2007
OpenBSD src changes summary for 2007-05-25
==========================================
bin/date distrib/notes
distrib/sets lib/libc
lib/librthread libexec/login_skey
share/man sys/arch/amd64/amd64
sys/arch/amd64/include sys/arch/arm/footbridge
sys/arch/arm/footbridge/isa sys/arch/arm/mainbus
sys/arch/arm/xscale sys/arch/hp300/dev
sys/arch/hp300/include sys/arch/i386/i386
sys/arch/i386/include sys/arch/i386/isa
sys/arch/luna88k/luna88k sys/arch/macppc/dev
sys/arch/mips64/mips64 sys/arch/mvme68k/dev
sys/arch/mvme88k/dev sys/arch/sparc/dev
sys/arch/sparc64/dev sys/arch/vax/qbus
sys/arch/vax/vax sys/dev/ic
sys/dev/isa sys/dev/microcode
sys/dev/pci sys/dev/pcmcia
sys/dev/tc sys/lib/libkern
sys/scsi usr.bin/cvs
usr.bin/mail usr.bin/rusers
usr.bin/talk usr.bin/touch
usr.bin/xinstall usr.sbin/cron
usr.sbin/httpd usr.sbin/pkg_add
== bin =============================================================== 01/08 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/bin
date
~ date.c
> Remove y2k hack. If no century is specified, use the current one.
> OK otto@ (millert@)
== distrib =========================================================== 02/08 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/distrib
notes
~ armish/prep
> "interupt" -> "interrupt" in various comments. Mostly from Diego Casati.
> (krw@)
sets
~ lists/base/md.alpha ~ lists/base/md.amd64
~ lists/base/md.armish ~ lists/base/md.aviion
~ lists/base/md.cats ~ lists/base/md.hp300
~ lists/base/md.hppa ~ lists/base/md.hppa64
~ lists/base/md.i386 ~ lists/base/md.landisk
~ lists/base/md.luna88k ~ lists/base/md.mac68k
~ lists/base/md.macppc ~ lists/base/md.mvme68k
~ lists/base/md.mvme88k ~ lists/base/md.mvmeppc
~ lists/base/md.sgi ~ lists/base/md.sparc
~ lists/base/md.sparc64 ~ lists/base/md.vax
~ lists/base/md.zaurus ~ lists/comp/mi
> sync (deraadt@)
~ lists/comp/mi
> sync (deraadt@)
== lib =============================================================== 03/08 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/lib
libc
~ arch/i386/string/bzero.S ~ arch/i386/string/memset.S
> "boundries" -> "boundaries" in various comments. Started by Diego Casati.
> (krw@)
librthread
~ rthread_sync.c
> protect against races while initializing static mutexes. okay marc@ tedu@
> (kurt@)
== libexec =========================================================== 04/08 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/libexec
login_skey
~ login_skey.c
> "interupt" -> "interrupt" in various comments. Mostly from Diego Casati.
> (krw@)
== share ============================================================= 05/08 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/share
man
~ man4/malo.4 ~ man4/pcmcia.4
> Initial driver stub for the Marvell 88W8385 PCMCIA (CF) device.
> Loads firmware, sends first FW command, establish interrupts. (mglocker@)
~ man4/malo.4
> Bump firmware version; includes USB firmware. (mglocker@)
~ man4/malo.4
> Oops, add USB firmware to FILES. (mglocker@)
~ man4/malo.4
> Bump firmware package version; Better naming of the malo firmware files.
> discussed with, and OK claudio@ (mglocker@)
== sys =============================================================== 06/08 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/sys
arch/amd64/amd64
~ bus_space.c ~ genassym.cf
~ ipi.c ~ ipifuncs.c
~ lapic.c ~ pmap.c
~ vector.S ~ vm_machdep.c
> Change the old slow and complicated TLB shootdown code to new, fast and
> simple. This is basically the same code as on i386 and basically the same
> performance improvements.
> This change also includes code to delay the freeing of ptps until they
> have been properly shot.
> in snaps for a week, no problems reported. (art@)
arch/amd64/include
~ atomic.h ~ i82489var.h
~ intr.h ~ pmap.h
> Change the old slow and complicated TLB shootdown code to new, fast and
> simple. This is basically the same code as on i386 and basically the same
> performance improvements.
> This change also includes code to delay the freeing of ptps until they
> have been properly shot.
> in snaps for a week, no problems reported. (art@)
~ lock.h
> Define rw_cas. Trivially simple on amd64 with atomic_cas_ul.
> miod@ ok (art@)
arch/arm/footbridge
~ footbridge_io.c
> Comment typos and tidying. From Diego Casati. (krw@)
~ footbridge_com_io.c
> 'Proto type' -> 'Prototype' when discussing functions in comments.
> Inspired by similar diffs from Diego Casati in other files. (krw@)
arch/arm/footbridge/isa
~ isa_io.c
> 'Proto type' -> 'Prototype' when discussing functions in comments.
> Inspired by similar diffs from Diego Casati in other files. (krw@)
arch/arm/mainbus
~ mainbus_io.c
> 'Proto type' -> 'Prototype' when discussing functions in comments.
> Inspired by similar diffs from Diego Casati in other files. (krw@)
arch/arm/xscale
~ pxa2x0reg.h
> "interupt" -> "interrupt" in various comments. Mostly from Diego Casati.
> (krw@)
arch/hp300/dev
~ hdreg.h
> "boundries" -> "boundaries" in various comments. Started by Diego Casati.
> (krw@)
~ dcmreg.h
> "interupt" -> "interrupt" in various comments. Mostly from Diego Casati.
> (krw@)
arch/hp300/include
~ intr.h
> "interupt" -> "interrupt" in various comments. Mostly from Diego Casati.
> (krw@)
arch/i386/i386
~ apicvec.s ~ ipifuncs.c
~ lapic.c ~ lock_machdep.c
~ machdep.c ~ pmap.c
~ vm_machdep.c
> Replace the overdesigned and overcomplicated tlb shootdown code with
> very simple and dumb fast tlb IPI handlers that have in the order of
> the same amount of instructions as the old code had function calls.
> All TLB shootdowns are reorganized so that we always shoot the,
> without looking at PG_U and when we're shooting a range (primarily in
> pmap_remove), we shoot the range when there are 32 or less pages in
> it, otherwise we just nuke the whole TLB (this might need tweaking if
> someone is interested in micro-optimization). The IPIs are not handled
> through the normal interrupt vectoring code, they are not blockable
> and they only shoot one page or a range of pages or the whole tlb.
> This gives a 15% reduction in system time on my dual-core laptop
> during a kernel compile and an 18% reduction in real time on a quad
> machine doing bulk ports build.
> Tested by many, in snaps for a week, no slowdowns reported (although not
> everyone is seeing such huge wins). (art@)
~ locore.s ~ longrun.c
> "boundries" -> "boundaries" in various comments. Started by Diego Casati.
> (krw@)
arch/i386/include
~ atomic.h ~ i82489var.h
~ intr.h ~ pmap.h
> Replace the overdesigned and overcomplicated tlb shootdown code with
> very simple and dumb fast tlb IPI handlers that have in the order of
> the same amount of instructions as the old code had function calls.
> All TLB shootdowns are reorganized so that we always shoot the,
> without looking at PG_U and when we're shooting a range (primarily in
> pmap_remove), we shoot the range when there are 32 or less pages in
> it, otherwise we just nuke the whole TLB (this might need tweaking if
> someone is interested in micro-optimization). The IPIs are not handled
> through the normal interrupt vectoring code, they are not blockable
> and they only shoot one page or a range of pages or the whole tlb.
> This gives a 15% reduction in system time on my dual-core laptop
> during a kernel compile and an 18% reduction in real time on a quad
> machine doing bulk ports build.
> Tested by many, in snaps for a week, no slowdowns reported (although not
> everyone is seeing such huge wins). (art@)
arch/i386/isa
~ icu.s
> "interupt" -> "interrupt" in various comments. Mostly from Diego Casati.
> (krw@)
arch/luna88k/luna88k
~ isr.h
> "interupt" -> "interrupt" in various comments. Mostly from Diego Casati.
> (krw@)
arch/macppc/dev
~ z8530tty.c
> "interupt" -> "interrupt" in various comments. Mostly from Diego Casati.
> (krw@)
arch/mips64/mips64
~ exception.S ~ tlbhandler.S
~ trap.c
> Unifdef TLB_TRACE and TLBTRACE, no functional change. (miod@)
~ tlbhandler.S
> Edge cases can trigger a TLB miss exception instead of an invalid TLB
> exception on early R5000 revisions. Despite this bug being supposedly
> fixed in R5000 revision 2 onwards, it nevertheless occurs quite frequently
> on matthieu's revision 2.1 R5000.
> Servicing the TLB miss exception would cause a duplicate TLB to be
> inserted,
> which causes the processor operation to become unpredictable (but lethal to
> the kernel, ten times out of nine).
> More details about the problem can be found in:
> http://www.linux-mips.org/archives/linux-mips/2000-02/msg00040.html
> We work around the issue by checking for an existing TLB entry, and
> handling
> this as an invalid TLB exception (as it was intended to be), in this case.
> Unfortunately this causes a measurable 1% slowdown on ``safe'' processors,
> so we'll work on providing different tlb handler flavours in the near
> future
> to recover from this. (miod@)
arch/mvme68k/dev
~ if_lereg.h
> "interupt" -> "interrupt" in various comments. Mostly from Diego Casati.
> (krw@)
arch/mvme88k/dev
~ if_lereg.h
> "interupt" -> "interrupt" in various comments. Mostly from Diego Casati.
> (krw@)
arch/sparc/dev
~ xdreg.h ~ z8530kbd.c
~ z8530tty.c
> "interupt" -> "interrupt" in various comments. Mostly from Diego Casati.
> (krw@)
arch/sparc64/dev
~ z8530kbd.c ~ z8530tty.c
> "interupt" -> "interrupt" in various comments. Mostly from Diego Casati.
> (krw@)
arch/vax/qbus
~ qdreg.h
> "interupt" -> "interrupt" in various comments. Mostly from Diego Casati.
> (krw@)
arch/vax/vax
~ autoconf.c ~ machdep.c
> rename cpu_dumpconf() to dumpconf(); no need to be different from other
> architectures (deraadt@)
dev/ic
~ lm78.c
> fix a typo in RFACT of 3.3Vcc of w83627ehf; ok kettenis (cnst@)
~ lm78.c ~ lm78var.h
> add support for W83627DHG; ok kettenis (cnst@)
~ malo.c
> Bump firmware package version; Better naming of the malo firmware files.
> discussed with, and OK claudio@ (mglocker@)
dev/isa
~ ariareg.h
> "interupt" -> "interrupt" in various comments. Mostly from Diego Casati.
> (krw@)
dev/microcode
~ aic7xxx/aic79xx.reg
> "interupt" -> "interrupt" in various comments. Mostly from Diego Casati.
> (krw@)
dev/pci
~ auixp.c ~ autri.c
~ if_wb.c ~ isesreg.h
> "interupt" -> "interrupt" in various comments. Mostly from Diego Casati.
> (krw@)
dev/pcmcia
~ files.pcmcia + if_malo.c
+ if_maloreg.h + if_malovar.h
> Initial driver stub for the Marvell 88W8385 PCMCIA (CF) device.
> Loads firmware, sends first FW command, establish interrupts. (mglocker@)
~ if_malo.c
> Bump firmware package version; Better naming of the malo firmware files.
> discussed with, and OK claudio@ (mglocker@)
~ if_malo.c ~ if_maloreg.h
~ if_malovar.h
> Make FW commands save in the way that requests/responses must be done
> serialized. Establish initial device up/down dance. (mglocker@)
dev/tc
~ tcdsreg.h
> "interupt" -> "interrupt" in various comments. Mostly from Diego Casati.
> (krw@)
lib/libkern
~ arch/amd64/bzero.S ~ arch/amd64/memset.S
~ arch/i386/bzero.S ~ arch/i386/memset.S
> "boundries" -> "boundaries" in various comments. Started by Diego Casati.
> (krw@)
scsi
~ cd.c
> ANSI-fication, minor KNF. No code change. My plane had power outlets
> this time! (krw@)
== usr.bin =========================================================== 07/08 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin
cvs
~ server.c
> Check vasprintf for failure.
> OK niallo at . (ray@)
~ server.c
> Call fatal() if we are missing an argument. From Tobias Stoeckmann.
> OK niallo at . (ray@)
~ client.c
> Call fatal() if we are missing an argument. From Tobias Stoeckmann.
> OK niallo at . (ray@)
mail
~ fio.c
> "interupt" -> "interrupt" in various comments. Mostly from Diego Casati.
> (krw@)
rusers
~ rusers.c
> "interupt" -> "interrupt" in various comments. Mostly from Diego Casati.
> (krw@)
talk
~ invite.c
> "interupt" -> "interrupt" in various comments. Mostly from Diego Casati.
> (krw@)
touch
~ touch.c
> Sanity check time spec and if no century is specified, just use the
> current one. (millert@)
xinstall
~ xinstall.c
> "boundries" -> "boundaries" in various comments. Started by Diego Casati.
> (krw@)
== usr.sbin ========================================================== 08/08 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/usr.sbin
cron
~ do_command.c
> Check fdopen() return value.
> Ignore SIG_PIPE when writing to sendmail. This allows cron to still
> run jobs when sendmail is missing or broken (a warning will be logged).
> Move mailto variable to the same scope as mail and use the mail
> variable, not mailto, to test whether we have an open pipe to the mailer.
> (millert@)
httpd
~ src/CHANGES ~ src/main/http_main.c
> "interupt" -> "interrupt" in various comments. Mostly from Diego Casati.
> (krw@)
pkg_add
~ pkg_add
> rename `handle' to `location' in preparation for wrapping it in a
> proper `handle'. (espie@)
~ pkg_add
> also rename this one for further wrapping (espie@)
~ pkg_create ~ OpenBSD/ArcCheck.pm
> move the mode checker code from pkg_create into ArcCheck, so that pkg_add
> can reuse it. (espie@)
~ pkg_add ~ OpenBSD/Vstat.pm
> start cleaning up the mess that is error-handling when installing packages.
> Mid-Term, we want to manipulate true `handles' that encapsulate package
> locations.
> For now, we create this handle externally, and just use it to record
> errors, in duplicate...
> Once handles are ready, they should be agregated into UpdateSets, to make
> replacement of packages more explicit and flexible. (espie@)
~ pkg_add
> Pass the handle to can_install, so that it can fill in errors (the package
> location is actually not used by this routine). (espie@)
~ OpenBSD/ArcCheck.pm
> until people finally fix their @group issues in packages, at least refuse
> flat-out to write packages with no @group annotations on fishy stuff
> (writable directories, setuid/setgid stuff) (espie@)
===============================================================================
More information about the odc
mailing list