OpenBSD cvs log

created 2024-11-24T03:19:25Z
begin 2024-11-21T00:00:00Z
end 2024-11-22T00:00:00Z
path src/sys
commits 2

date 2024-11-21T11:58:45Z
author jca
files src/sys/kern/sched_bsd.c log diff annotate
message Let the user provide an alternative perfpolicy when on battery

The current behavior of "auto", which implies running at full speed when
on AC power, does not fit all the hardware and use cases. For some people
it results in more power consumption, more heat, more noise, etc.

Extend the semantics of hw.perfpolicy and provide two buttons to
specify the desired behavior:

sysctl hw.perfpolicy=<policy while on ac>[,<policy while on battery>]

Keep the default behavior of "high,auto". People can opt for "auto,auto"
or simply "auto" instead.

No objection from deraadt@, input and ok sobrado@ sthen@

date 2024-11-21T20:15:44Z
author bluhm
files src/sys/netinet/ip_input.c log diff annotate
src/sys/netinet6/ip6_input.c log diff annotate
src/sys/netinet6/ip6_var.h log diff annotate
message During IP deliver, propagate correct address family.

If ip_deliver() changes the af, e.g. for ip6 over ip4, then it
cannot rely on the caller ip_ours() to enqueue the packet in the
correct queue. ip_deliver() has to do the enqueue depending on the
changed af.

from markus@