created | 2022-02-02T10:22:31Z |
---|---|
begin | 2022-01-16T00:00:00Z |
end | 2022-01-17T00:00:00Z |
path | src/sys |
commits | 5 |
date | 2022-01-16T06:27:14Z | |||
---|---|---|---|---|
author | dlg | |||
files | src/sys/net/bpf.c | log | diff | annotate |
message |
activate/notify waiting kq kevents from bpf_wakeup directly. this builds on the mpsafe kq/kevent work visa has been doing. normally kevents are notified by calling selwakeup, but selwakeup needs the KERNEL_LOCK. because bpf runs from all sorts of contexts that may or may not have the kernel lock, the call to selwakeup is deferred to the systq which already has the kernel lock. while this avoids spinning in bpf for the kernel lock, it still adds latency between when the buffer is ready for a program and when that program gets notified about it. now that bpf kevents are mpsafe and bpf_wakeup is already holding the necessary locks, we can avoid that latency. bpf_wakeup now checks if there are waiting kevents and notifies them immediately. if there are no other things to wake up, bpf_wakeup avoids the task_add (and associated reference counting) to defer the selwakeup call. selwakeup can still try to notify waiting kevents, so this uses the hint passed to knote() to differentiate between the notification from bpf_wakeup and selwakeup and returns early from the latter. ok visa@ |
date | 2022-01-16T11:34:05Z | |||
---|---|---|---|---|
author | dlg | |||
files | src/sys/dev/pci/if_pcn.c | log | diff | annotate |
message |
modernise pcn_start with m_defrag and the "new" ifq pattern. aside from getting rid of a use of the ifq_deq_begin/commit/rollback stuff, it simplifies the code a lot. im also sick of having the diff in my tree. |
date | 2022-01-16T22:27:46Z | |||
---|---|---|---|---|
author | mlarkin | |||
files | src/sys/arch/amd64/amd64/hibernate_machdep.c | log | diff | annotate |
src/sys/arch/i386/i386/hibernate_machdep.c | log | diff | annotate | |
src/sys/sys/hibernate.h | log | diff | annotate | |
message | Remove trailing whitespace in a few places. No code change. |
date | 2022-01-16T22:43:25Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/dev/pci/drm/i915/intel_pm.c | log | diff | annotate |
message |
drm/i915: Avoid bitwise vs logical OR warning in snb_wm_latency_quirk() From Nathan Chancellor 48d56b00c35266b00ec92aaf0db5b71ce1f27702 in linux 5.15.y/5.15.15 2e70570656adfe1c5d9a29940faa348d5f132199 in mainline linux |
date | 2022-01-16T23:05:48Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/arch/riscv64/include/softintr.h | log | diff | annotate |
message |
remove "for all AArch64 platforms" from comment removed from other archs in 2020 before riscv64 was imported |