[odc] Daily src changes for 2007-11-22

ODC auto at squish.net
Fri Nov 23 07:00:02 GMT 2007


OpenBSD src changes summary for 2007-11-22
==========================================

sbin/ifconfig                           sys/arch/i386/conf
sys/arch/m88k/include                   sys/arch/m88k/m88k
sys/arch/mvme88k/dev                    sys/arch/mvme88k/include
sys/arch/mvme88k/mvme88k                sys/net
sys/netinet                             sys/scsi
usr.bin/pcc                             usr.bin/systat
usr.bin/top                             usr.sbin/bgpd
usr.sbin/hoststated                     usr.sbin/ntpd

== sbin ============================================================== 01/04 ==

  http://www.openbsd.org/cgi-bin/cvsweb/src/sbin

ifconfig

  ~ ifconfig.c                            

  > Factor out the virtual host portion of carp into a separate struct
  > that is kept in a list per carp interface.	This is the huge first
  > step necessary to make carp load balancing nice and easy. One carp
  > interface can now contain up to 32 virtual host instances.
  > This doesn't do anything useful yet, but here is how an ifconfig
  > for multiple entries now looks like:
  > # ifconfig carp2 carpnodes 5:0,6:100 192.168.5.88
  > carp2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
  > lladdr 00:00:5e:00:01:05
  > carp: carpdev sis0 advbase 1
  > state MASTER vhid 5 advskew 0
  > state BACKUP vhid 6 advskew 100
  > groups: carp
  > inet 192.168.5.88 netmask 0xffffff00 broadcast 192.168.5.255
  > OK mcbride@ (mpf@)

== sys =============================================================== 02/04 ==

  http://www.openbsd.org/cgi-bin/cvsweb/src/sys

arch/i386/conf

  ~ GENERIC                               

  > disable i386 ipmi as well, because marco has an acpi interaction bug to fix
  > still (deraadt@)

arch/m88k/include

  ~ cmmu.h                                

  > Move the cmmu lock to 88200-specific code. 88110 MP code will use ipis
  > and will not require such a lock. (miod@)

  ~ cmmu.h                                

  > Remove the cpu parameter from cmmu_set_sapr(), since it is only invoked
  > for the current processor. And remove now unused cmmu_flush_data_page().
  > (miod@)

arch/m88k/m88k

  ~ m8820x_machdep.c                      ~ m88k_machdep.c

  > Move the cmmu lock to 88200-specific code. 88110 MP code will use ipis
  > and will not require such a lock. (miod@)

  ~ pmap.c                                

  > Add an extra parameter to pmap_remove_pte() to control whether it will
  > flush tlbs or not. This is used by pmap_enter() to avoid flushing the same
  > tlb entry twice. (miod@)

  ~ vm_machdep.c                          

  > Remove explicit tlb flush from vmapbuf(), since pmap_enter() will take
  > care of this. (miod@)

  ~ m8820x_machdep.c                      ~ pmap.c

  > Remove the cpu parameter from cmmu_set_sapr(), since it is only invoked
  > for the current processor. And remove now unused cmmu_flush_data_page().
  > (miod@)

  ~ m88110_mmu.S                          ~ trap.c

  > Quote a few errata to explain why odd things are done in oddly ways on
  > 88110. (miod@)

  ~ trap.c                                

  > On 88110, skip the faulting instruction in double_reg_fixup() if it can
  > recover, otherwise we'll fault in a loop. (miod@)

  ~ eh_common.S                           

  > Do not save a copy of the previous exception frame in a fixed memory
  > location. (miod@)

  ~ eh_common.S                           

  > Do not bother saving the fault address registers if the fault status
  > registers are empty, to speed up a bit non-fault traps. (miod@)

  ~ eh_common.S                           

  > Do not reenable interrupts for netsted interrupts if interrupts were
  > previously disabled on 88110, similar to a recent 88100 fix. (miod@)

  ~ eh_common.S                           

  > Do not redirect exception occuring when enabling the fpu to the error
  > handler,
  > for we are supposed to be able to recover from them. (miod@)

  ~ trap.c                                

  > A decent workaround for errata #16. I have verified it gets triggered, the
  > hard way. (miod@)

  ~ trap.c                                

  > Introduce an inline function to skip an instruction on 88110 and use it
  > whenever necessary, instead of duplicating the same code 10+ times. (miod@)

arch/mvme88k/dev

  ~ busswreg.h                            

  > Quote a few errata to explain why odd things are done in oddly ways on
  > 88110. (miod@)

arch/mvme88k/include

  ~ m88110.h                              

  > Quote a few errata to explain why odd things are done in oddly ways on
  > 88110. (miod@)

  ~ m88110.h                              

  > Introduce an inline function to skip an instruction on 88110 and use it
  > whenever necessary, instead of duplicating the same code 10+ times. (miod@)

  ~ m88110.h                              

  > Split the cmmu code routines into single 88110 (MVME197LE) and 88110+88410
  > combos (MVME197SP/DP), and implement supposedly smarter cache routines.
  > There is still room for improvement, however, cache flush operation errata
  > permissing.
  > Tested on 197LE and 197DP. (miod@)

arch/mvme88k/mvme88k

  ~ m88110.c                              

  > Move the cmmu lock to 88200-specific code. 88110 MP code will use ipis
  > and will not require such a lock. (miod@)

  ~ m88110.c                              

  > Remove the cpu parameter from cmmu_set_sapr(), since it is only invoked
  > for the current processor. And remove now unused cmmu_flush_data_page().
  > (miod@)

  ~ m88110.c                              

  > Quote a few errata to explain why odd things are done in oddly ways on
  > 88110. (miod@)

  ~ m197_machdep.c                        ~ m88110.c

  > Split the cmmu code routines into single 88110 (MVME197LE) and 88110+88410
  > combos (MVME197SP/DP), and implement supposedly smarter cache routines.
  > There is still room for improvement, however, cache flush operation errata
  > permissing.
  > Tested on 197LE and 197DP. (miod@)

net

  ~ if_ethersubr.c                        

  > Factor out the virtual host portion of carp into a separate struct
  > that is kept in a list per carp interface.	This is the huge first
  > step necessary to make carp load balancing nice and easy. One carp
  > interface can now contain up to 32 virtual host instances.
  > This doesn't do anything useful yet, but here is how an ifconfig
  > for multiple entries now looks like:
  > # ifconfig carp2 carpnodes 5:0,6:100 192.168.5.88
  > carp2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
  > lladdr 00:00:5e:00:01:05
  > carp: carpdev sis0 advbase 1
  > state MASTER vhid 5 advskew 0
  > state BACKUP vhid 6 advskew 100
  > groups: carp
  > inet 192.168.5.88 netmask 0xffffff00 broadcast 192.168.5.255
  > OK mcbride@ (mpf@)

  ~ pf.c                                  

  > pf_src_tree_remove_state() is called upon pf_insert_state() failures.
  > but pf_insert_state does fiddle with the state's state_key pointer - it
  > has too -, and can leave it at NULL. pf_src_tree_remove_state()
  > tried to grab the protocol from it. fortunately that is superfluous here,
  > since tcp_est will never be set in the non-tcp case - it is only touched
  > in pf_src_connlimit which in turn is only ever called from pf_test_tcp().
  > ok mcbride + identical diff from pascoe, but he was a few minutes late :)
  > (henning@)

netinet

  ~ ip_carp.c                             ~ ip_carp.h

  > Factor out the virtual host portion of carp into a separate struct
  > that is kept in a list per carp interface.	This is the huge first
  > step necessary to make carp load balancing nice and easy. One carp
  > interface can now contain up to 32 virtual host instances.
  > This doesn't do anything useful yet, but here is how an ifconfig
  > for multiple entries now looks like:
  > # ifconfig carp2 carpnodes 5:0,6:100 192.168.5.88
  > carp2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
  > lladdr 00:00:5e:00:01:05
  > carp: carpdev sis0 advbase 1
  > state MASTER vhid 5 advskew 0
  > state BACKUP vhid 6 advskew 100
  > groups: carp
  > inet 192.168.5.88 netmask 0xffffff00 broadcast 192.168.5.255
  > OK mcbride@ (mpf@)

  ~ ip_carp.c                             

  > pass the carp ifp to rt_missmsg() when generating the RTM_ADD messages
  > so the resulting messages have ifindex set and the routing daemons can
  > correctly indentify that route as connected. ok mcbride (henning@)

scsi

  ~ st.c                                  

  > Ooops. Don't de-reference st until after it has been pointed at the
  > correct st_softc. Fixes 'mt rewoffl' panics, as reported on misc@ by
  > Jeff Ross and reproduced on my tape machine. (krw@)

  ~ st.c                                  

  > Ansi-fy. (krw@)

== usr.bin =========================================================== 03/04 ==

  http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin

pcc

  ~ ccom/cgram.y                          ~ ccom/pass1.h
  ~ ccom/trees.c                          ~ hppa/code.c
  ~ i386/code.c                           ~ m16c/code.c
  ~ mips/code.c                           ~ nova/code.c
  ~ pdp10/code.c                          ~ powerpc/code.c
  ~ vax/code.c                            

  > Pull from master repo:
  > Put the genswitch() code that is found in most backends into
  > the MI part. The backend version is renamed to mygenswitch()
  > and can provide improved translations for switch statements.
  > Improved implementation of the switch constraints/semantics
  > described in the standard.
  > ok ragge@, otto@
  > With help and comments from ragge and gmcgarry (stefan@)

  ~ powerpc/table.c                       

  > Pull from master repo:
  > Fix the other rule that did not load small negative 64-bit constants
  > correctly. The error shows up if you compile
  > main(){long long = -1;} with -xtemps. (stefan@)

  ~ cc/cc.c                               

  > Pull from master repo:
  > Kill two useless assignments. ok ragge@ some time ago (stefan@)

systat

  ~ systat.1                              

  > .Nm does not require an argument; from Mark Lumsden (jmc@)

top

  ~ display.c                             ~ display.h
  ~ top.c                                 

  > Diff from Mark Lumsden: cleanup of reading strings and numbers, to
  > make sure command line args and interactive reading of numbers use the
  > same code. More concrete, interactive use of 'd' and 'n' now also
  > interpret 'max', 'infinite' and 'all' and handle non-numbers
  > correctly. tested by a few (otto@)

== usr.sbin ========================================================== 04/04 ==

  http://www.openbsd.org/cgi-bin/cvsweb/src/usr.sbin

bgpd

  ~ printconf.c                           

  > add "demote", was missing. noticed by camield@ (henning@)

hoststated

  ~ hoststated.conf.5                     ~ hoststated.h
  ~ parse.y                               ~ relay.c

  > add (new) "url" protocol action, this can be used to match/filter URL
  > suffix/prefix expressions like "example.com/index.html?args". a digest
  > mode allows to match against anonymized SHA1/MD5 digests of
  > suffix/prefix expressions. (reyk@)

  ~ relay.c                               ~ hoststated.h

  > Fix relay roundrobin mode to work correctly when multiple hosts in a
  > table are down.
  > Thanks to Preston Norvell at serialssolutions dot com for reporting
  > the problem. (reyk@)

  ~ hoststated.h                          

  > shuffle some structure elements; avoid using enums in *_config structs.
  > (reyk@)

ntpd

  ~ ntpd.c                                

  > if the drift file is missing, reset adjfreq to zero; iirc diff from Glaser
  > from a long time ago. ok ckuethe@ (otto@)

  ~ client.c                              

  > be a bit less aggressive retrying; this keeps the message queue
  > empty while in the -s period, so the poll timeout actually times out
  > if there are no interfaces available. ok henning@ (otto@)

===============================================================================


More information about the odc mailing list