OpenBSD cvs log

created 2023-10-15T07:55:23Z
begin 2023-10-08T00:00:00Z
end 2023-10-09T00:00:00Z
path src/sys
commits 3

date 2023-10-08T07:44:52Z
author claudio
files src/sys/net/ifq.c log diff annotate
src/sys/net/ifq.h log diff annotate
message Revert commitid: KtmyJEoS0WWxmlZ5
---
Protect interface queues with read once and mutex.

Reading atomic values need at least read once and writing values
should have a mutex. This is what mbuf queues already do. Add
READ_ONCE() to ifq and ifiq macros for len and empty. Convert
ifq_set_maxlen() to a function that grabs ifq_mtx.

OK mvs@
---

ifq_set_maxlen() is called before the ifq_mtx is initalized and this at
least crashes WITNESS kernels on boot.

Reported-by: [email protected]

date 2023-10-08T10:40:23Z
author aoyama
files src/sys/arch/luna88k/conf/files.luna88k log diff annotate
message Add inclusion of "dev/hid/files.hid" and "dev/usb/files.usb".

Actually these devices are not supported on luna88k, but we need them
in order to create attribute header files (e.g. "ucom.h") required in
MI part recently.

Suggested by miod@, tested by me.

date 2023-10-08T21:08:00Z
author cheloha
files src/sys/kern/kern_clockintr.c log diff annotate
src/sys/sys/clockintr.h log diff annotate
message clockintr: move intrclock wrappers from sys/clockintr.h to kern_clockintr.c

intrclock_rearm() and intrclock_trigger() are not part of the public
API, so there's no reason to implement them in sys/clockintr.h. Move
them to kern_clockintr.c.