OpenBSD cvs log

created 2022-05-02T21:14:39Z
begin 2022-04-28T00:00:00Z
end 2022-04-29T00:00:00Z
path src/sys
commits 7

date 2022-04-28T05:11:48Z
author jsg
files src/sys/dev/pci/drm/i915/display/intel_psr.c log diff annotate
message drm/i915/display/psr: Unset enable_psr2_sel_fetch if other checks in intel_psr2_config_valid() fails

From Jose Roberto de Souza
79957134ca1d82fad69dba79f56d36a78512ef12 in linux 5.15.y/5.15.36
bb02330408a7bde33b5f46aa14fd5d7bfe6093b7 in mainline linux

date 2022-04-28T09:58:11Z
author mpi
files src/sys/uvm/uvm_swap.c log diff annotate
message Update uvmexp.swpgonly only once in uvm_swap_get().

Prevent a small window where a check could be incorrect in case an error
occurs in uvm_swap_io().

ok kettenis@, kn@

date 2022-04-28T09:59:28Z
author mpi
files src/sys/uvm/uvm_page.c log diff annotate
message Call uvm_pageactivate() from uvm_pageunwire() instead of rerolling it.

Having fewer places manipulating the global list of active/inactive pages
will help future LRU improvements.

ok kettenis@, kn@

date 2022-04-28T16:56:39Z
author bluhm
files src/sys/net/if.c log diff annotate
src/sys/net/netisr.h log diff annotate
src/sys/netinet/ip_input.c log diff annotate
src/sys/netinet/ip_var.h log diff annotate
src/sys/netinet6/ip6_input.c log diff annotate
message Decouple IP input and forwarding from protocol input. This allows
to have parallel IP processing while the upper layers are still not
MP safe. Introduce ip_ours() that enqueues the packets and ipintr()
that dequeues and processes them with an exclusive netlock.
Note that we still have only one softnet task. Running IP processing
on multiple CPU will be the next step.
lots of testing Hrvoje Popovski; OK sashan@

date 2022-04-28T17:27:14Z
author claudio
files src/sys/netinet/ip_input.c log diff annotate
src/sys/netinet/ip_mroute.c log diff annotate
src/sys/netinet/ip_mroute.h log diff annotate
src/sys/netinet6/ip6_input.c log diff annotate
src/sys/netinet6/ip6_mroute.c log diff annotate
src/sys/netinet6/ip6_mroute.h log diff annotate
message In the multicast router code don't allocate a rt timer queue for each
rdomain. The rttimer API is rtable/rdomain aware and so there is no need
to have so many queues.
Also init the two queues (one for IPv4 and one for IPv6) early on. This
will allow the rttable code to become simpler.
OK bluhm@

date 2022-04-28T17:47:41Z
author bluhm
files src/sys/net/route.c log diff annotate
src/sys/net/route.h log diff annotate
message Route timers were not MP safe. Protect the global lists with a
mutex and move the rttimer entries into a temporary list. Then the
callback and pool put can be called later without holding the mutex.
tested by Hrvoje Popovski; OK claudio@

date 2022-04-28T18:12:33Z
author mpi
files src/sys/uvm/uvm_vnode.c log diff annotate
message Always acquire the `vmobjlock' before incrementing an object's reference.