OpenBSD/src FHIqiSPsys/dev/acpi acpiec.c

   Try a short busy-wait in acpiec_wait before falling back to tsleep

   This greatly speeds up SMBus reading in acpisbs making its periodic
   acpisbs_read execution go from ~6 seconds to 125 milliseconds,
   preventing backlog in the ACPI task queue.

   ok kettenis
VersionDeltaFile
1.67+4-3sys/dev/acpi/acpiec.c
+4-31 files

OpenBSD/src zX7tv57include pthread.h

   bump PTHREAD_KEYS_MAX to 512

   the rust libstd emutls version is using one pthread_key per thread-variable. it
   means the maximum number of thread-variable at a time is PTHREAD_KEYS_MAX.

   with recent rustc 1.91.0, we start hiting the limit while compiling some
   programs (like sysutils/rustic).

   ok robert@
   "Let's go 512 and hope someone eventually does proper TLS" deraadt@
VersionDeltaFile
1.5+2-2include/pthread.h
+2-21 files

OpenBSD/src Wq1rkFPsys/net if.c

   Fix copyout(9) error path winthin ifconf().

   Currently if copyout() of interface address failed we continue with the
   next interface, override error value and finally we modify `ifc_len' of
   passed request. Return error value just after fail.

   Also stop processing if userland buffer is full. No reason for lists
   iterations null-ops.

   ok bluhm deraadt
VersionDeltaFile
1.746+29-18sys/net/if.c
+29-181 files

OpenBSD/src 2QVSiFbsys/dev/pci if_ix.c if_bnxt.c

   Introduce global interface queue limit.

   Limit all multiqueue network interfaces to common IF_MAX_VECTORS.
   Currently it is set to 8.  One global limit helps to find an optimal
   value, stops wasting interrupt vectors, and clarifies what are
   actual hardware or driver limitations.

   input jmatthew@; OK jan@ phessler@ kettenis@
VersionDeltaFile
1.222+8-4sys/dev/pci/if_ix.c
1.61+6-4sys/dev/pci/if_bnxt.c
1.112+5-4sys/dev/pci/if_ixl.c
1.26+4-3sys/dev/pci/if_iavf.c
1.65+4-3sys/dev/pci/if_ice.c
1.120+3-3sys/dev/pci/if_mcx.c
+30-216 files not shown
+48-3512 files

OpenBSD/src E8kN1Nmsys/netinet ip_output.c

   Indent consistently.
VersionDeltaFile
1.414+5-5sys/netinet/ip_output.c
+5-51 files

OpenBSD/src uFbzaHbusr.sbin/sysupgrade sysupgrade.8

   First draft of a PRUNING subsection in the manual page which people
   will read when sysupgrade prevents a dangerously-failing upgrade
   because /usr is too full.

   This explains some of the history and reasons why /usr is too full,
   and also explains that sysupgrade / installer cannot delete any
   detritus because it cannot identify it.  More imporatntly, users also
   will have a hard time identifying the detritus -- most of it is older
   lib*.so.* libraries but there's no reasonable mechanism to traverse all
   possible filesystems and ensure no binaries remain which use those
   libraries.

   rather than telling people hacky choices that might get them through this
   sysupgrade, and fail next time, we choose to provide no hacky advice.

   A bigger /usr is their best choice, which implies that it is time for a reinstall.

   ok florian, sthen
VersionDeltaFile
1.23+26-2usr.sbin/sysupgrade/sysupgrade.8
+26-21 files

OpenBSD/src VfhdEEVusr.sbin/sysupgrade sysupgrade.sh

   If "df /usr" says the filesystem is over 90% full, rather than
   potentially completely breaking the system, fail the sysupgrade.  This
   comes with a message pointing people to read a new Sub-Section PRUNING
   in the manual page which will softly lead them to understand all the
   nuances involved and that their best choice is to reinstall with a bigger
   /usr.
   script diff from florian
VersionDeltaFile
1.59+6-1usr.sbin/sysupgrade/sysupgrade.sh
+6-11 files

OpenBSD/src jsCPmyosys/netinet in_var.h igmp.c

   Remove struct router_info from global header file.

   Do not expose struct router_info globally as is only used in igmp.c.
   Remove it from netinet/in_var.h header to avoid visibility.  Also
   sort pointer before integer fields within struct.

   OK tb@ mvs@
VersionDeltaFile
1.42+4-15sys/netinet/in_var.h
1.89+11-1sys/netinet/igmp.c
+15-162 files

OpenBSD/src Tevk1OCusr.bin/sndiod siofile.c

   sndiod: Turn the watchdog timer into a simple debug warning

   After an underrun (ex. during high system load), the audio device is
   reset to a known working state.  Then, once the system load allows it,
   audio will make progress again. Consequently, closing the device and
   disconnecting clients is not necessary anymore.

   ok kirill
VersionDeltaFile
1.29+3-3usr.bin/sndiod/siofile.c
+3-31 files

OpenBSD/src ua6WWBasys/conf files, sys/dev/ic psp.c

   psp(4): Replace wbinvd_on_all_cpus_acked() with cpu_xcall(9)

   ok dlg@
VersionDeltaFile
1.21+35-6sys/dev/ic/psp.c
1.747+2-2sys/conf/files
+37-82 files

OpenBSD/src d5vINZklib/libsndio sio_sun.c

   libsndio: Restart the audio(4) device upon underrun.

   At the expense of slightly more audible underruns (restarting inserts
   extra silence), this fixes the main cause of audio disconnects on high
   system load and/or after a resume.

   Attemting to compensate for the inserted silence without stopping DMA
   is unreliable and too complex to get right.

   ok kirill, tested by many
VersionDeltaFile
1.32+134-50lib/libsndio/sio_sun.c
+134-501 files

OpenBSD/src I5dDnHOregress/usr.sbin/rpki-client/openssl/build Makefile

   Add missing regress target.

   ok tb@
VersionDeltaFile
1.2+3-1regress/usr.sbin/rpki-client/openssl/build/Makefile
+3-11 files

OpenBSD/src oq6Eangsys/net if.c

   Replace bzero(3) and bcopy(3) with memset(3) and memcopy(3) within
   ifconf(). Only for consistency reason.
VersionDeltaFile
1.745+3-3sys/net/if.c
+3-31 files

OpenBSD/src RknxPqUsbin/pfctl pfctl.c parse.y, share/man/man5 pf.conf.5

   introduce source and state limiters in pf.

   both source and state limiters can provide constraints on the number
   of states that a set of rules can create, and optionally the rate
   at which they are created. state limiters have a single limit, but
   source limiters apply limits against a source address (or network).
   the source address entries are dynamically created and destroyed,
   and are also limited.

   this started out because i was struggling to understand the source and
   state tracking options in pf.conf, and looking at the code made it
   worse. it looked like some functionality was missing, and the code also
   did some things that surprised me. taking a step back from it, even it
   if did work, what is described doesn't work well outside very simple
   environments.

   the functionality i'm talking about is most of the stuff in the
   Stateful Tracking Options section of pf.conf(4).


    [69 lines not shown]
VersionDeltaFile
1.424+1,213-3sys/net/pf_ioctl.c
1.399+663-84sbin/pfctl/pfctl.c
1.1219+659-7sys/net/pf.c
1.720+497-3sbin/pfctl/parse.y
1.39+252-1sys/net/pfvar_priv.h
1.604+161-3share/man/man5/pf.conf.5
+3,445-1015 files not shown
+3,718-10711 files

OpenBSD/src 8rd8GlPusr.bin/pkg-config pkg-config.1 Makefile, usr.bin/pkg-config/OpenBSD PkgConfig.pm

   remove the old pkg-config. It's not coming back.

   prompted by bluhm.
VersionDeltaFile
1.38+2-2usr.bin/pkg-config/pkg-config.1
1.6+1-1usr.bin/pkg-config/Makefile
1.98+1-1usr.bin/pkg-config/pkg-config
1.14+1-1usr.bin/pkg-config/OpenBSD/PkgConfig.pm
+5-54 files

OpenBSD/src fiQVktIregress/usr.sbin/rpki-client/openssl Makefile

   Hook the build test to the tree and add a small sanity test to
   check that the openssl-based rpki-client binary works.
VersionDeltaFile
1.6+17-1regress/usr.sbin/rpki-client/openssl/Makefile
+17-11 files

OpenBSD/src Mh2bjHQregress/usr.sbin/rpki-client/openssl/build Makefile

   Add a makefile to link rpki-client against openssl

   If openssl and libretls are installed, this provides an easy way of
   building an rpki-client binary using OpenSSL. On the one hand this
   will ensure that we can build against -current OpenSSL and provides
   an easy way to creating such a binary for testing purposes without
   needing to deal with autoconf. I also plan to revamp our tests to
   use file mode instead of the nasty reacharounds, so that we can use
   the same set of tests against both libressl and openssl.

   discussed with bluhm and job who both encouraged me to commit this.

   Now I need a shower.
VersionDeltaFile
1.1+21-0regress/usr.sbin/rpki-client/openssl/build/Makefile
+21-01 files

OpenBSD/src SsuC8hFlib/libc/sys poll.2

   Readability improvement

   spotted by Timo Mirau
VersionDeltaFile
1.42+3-3lib/libc/sys/poll.2
+3-31 files

OpenBSD/src Tqptx8qsys/uvm uvm_vnode.c uvm_vnode.h

   Remove duplicated code & get rid of unused UVM_VNODE_ALOCK.

   ok tb@
VersionDeltaFile
1.148+20-37sys/uvm/uvm_vnode.c
1.24+2-3sys/uvm/uvm_vnode.h
+22-402 files

OpenBSD/src jDml0uksys/uvm uvm_vnode.c

   Query the size of the vnode before grabbing `vmobjlock'.

   ok tb@
VersionDeltaFile
1.147+36-52sys/uvm/uvm_vnode.c
+36-521 files

OpenBSD/src SOogOPjsys/arch/amd64/amd64 vector.S intr.c, sys/arch/amd64/include intrdefs.h intr.h

   wire up cpu_xcall on amd64.

   my original plan to have xcalls dispatch work to execute at softclock
   wasnt going to work because the MI softintr code runs at IPL_HIGH,
   not IPL_IPI. so i've redrawn the line between what MI and MD xcall
   code.

   the arch is now responsible for calling cpu_xcall_dispatch at
   IPL_SOFTCLOCK, which means the arch has to turn an IPI into a
   SOFTCLOCK call itself. it can be a lot more efficient at it than
   the softintr code was though.

   ok kettenis@
   hshoexer@ wants to use this for psp(4).
VersionDeltaFile
1.104+20-1sys/arch/amd64/amd64/vector.S
1.2+4-15sys/kern/kern_xcall.c
1.64+17-2sys/arch/amd64/amd64/intr.c
1.25+9-7sys/arch/amd64/include/intrdefs.h
1.40+9-1sys/arch/amd64/amd64/ipifuncs.c
1.37+5-2sys/arch/amd64/include/intr.h
+64-283 files not shown
+75-329 files

OpenBSD/src cMG1jbcsys/uvm uvm_aobj.c uvm_vnode.c

   Stop as soon as a page is missing if PGO_ALLPAGES is passed to pgo_get().

   Supposedly two brackets away from ok kettenis@
VersionDeltaFile
1.119+7-3sys/uvm/uvm_aobj.c
1.146+7-3sys/uvm/uvm_vnode.c
+14-62 files

OpenBSD/src Zdvto0Wsys/uvm uvm_vnode.c uvm_aobj.c

   Revert previous.  I committed two diffs instead of one.
VersionDeltaFile
1.145+54-42sys/uvm/uvm_vnode.c
1.118+3-7sys/uvm/uvm_aobj.c
+57-492 files

OpenBSD/src DbHKEAksys/uvm uvm_vnode.c uvm_aobj.c

   Stop as soon as a page is missing if PGO_ALLPAGES is passed to pgo_get().

   Supposedly two brackets away from ok kettenis@
VersionDeltaFile
1.144+42-54sys/uvm/uvm_vnode.c
1.117+7-3sys/uvm/uvm_aobj.c
+49-572 files

OpenBSD/src H99SzMDsys/kern kern_malloc.c, sys/uvm uvm_km.c uvm_extern.h

   Remove unused options from/simplify uvm_km_kmemalloc_pla().

   ok tb@
VersionDeltaFile
1.158+26-65sys/uvm/uvm_km.c
1.186+3-16sys/uvm/uvm_extern.h
1.156+5-8sys/kern/kern_malloc.c
+34-893 files

OpenBSD/src UkCLjXzsys/kern kern_lock.c

   don't try calling mtx_init_parking without ifdef __USE_MI_MUTEX

   hppa (and m88k) have their own mutex code, so they don't have the
   MI parking mutex.

   found by deraadt@
   hppa hardware help from jmatthew@
   ok jca@ jmatthew@
VersionDeltaFile
1.83+5-1sys/kern/kern_lock.c
+5-11 files

OpenBSD/src Lvb5tQdsys/net if.c

   Copy only `sa_len' bytes from sockaddr and fill the rest with nulls while
   doing fill `ifr' within ifconf(). We have no one sockaddr* with size less
   than sockaddr structure and always do addresses allocation with M_ZERO,
   so there is no leak, but don't be careless.

   ok bluhm deraadt
VersionDeltaFile
1.744+5-2sys/net/if.c
+5-21 files

OpenBSD/src eKeAjSBsys/dev/usb ukbdmap.c

   regen
VersionDeltaFile
1.50+0-19sys/dev/usb/ukbdmap.c
+0-191 files

OpenBSD/src BxtR799sys/dev/pckbc wskbdmap_mfii.c, sys/dev/wscons wsksymdef.h

   Remove the KB_IOPENER option from wscons. From Crystal Kolipe.
   ok miod@, millert@
VersionDeltaFile
1.49+1-20sys/dev/pckbc/wskbdmap_mfii.c
1.43+1-3sys/dev/wscons/wsksymdef.h
+2-232 files

OpenBSD/src GioVRu3sys/uvm uvm_map.c

   Remove i386-only uvm_map_setup_md() it is identical to the generic one.

   ok miod@
VersionDeltaFile
1.348+3-33sys/uvm/uvm_map.c
+3-331 files