created | 2023-10-04T11:55:51Z |
---|---|
begin | 2023-09-17T00:00:00Z |
end | 2023-09-18T00:00:00Z |
path | src/sys |
commits | 6 |
date | 2023-09-17T13:02:24Z | |||
---|---|---|---|---|
author | cheloha | |||
files | src/sys/kern/sched_bsd.c | log | diff | annotate |
message |
scheduler_start: move static timeout structs into callback functions Move the schedcpu() and update_loadavg() timeout structs from scheduler_start() into their respective callback functions and statically initialize them with TIMEOUT_INITIALIZER(9). The structs are already hidden from the global namespace and the timeouts are already self-managing, so we may as well fully consolidate things. Thread: https://marc.info/?l=openbsd-tech&m=169488184019047&w=2 "Sure." claudio@ |
date | 2023-09-17T14:50:50Z | |||
---|---|---|---|---|
author | cheloha | |||
files | src/sys/arch/alpha/alpha/clock.c | log | diff | annotate |
src/sys/arch/amd64/amd64/lapic.c | log | diff | annotate | |
src/sys/arch/amd64/isa/clock.c | log | diff | annotate | |
src/sys/kern/kern_clockintr.c | log | diff | annotate | |
src/sys/sys/clockintr.h | log | diff | annotate | |
message |
clockintr: remove clockintr_init(), clockintr_flags All the state initialization once done in clockintr_init() has been moved to other parts of the kernel. It's a dead function. Remove it. Likewise, the clockintr_flags variable no longer sports any meaningful flags. Remove it. This frees up the CL_* flag namespace, which might be useful to the clockintr frontend if we ever need to add behavior flags to any of those functions. |
date | 2023-09-17T14:50:51Z | |||
---|---|---|---|---|
author | cheloha | |||
files | src/sys/arch/arm/cortex/agtimer.c | log | diff | annotate |
src/sys/arch/arm/cortex/amptimer.c | log | diff | annotate | |
src/sys/arch/arm64/dev/agtimer.c | log | diff | annotate | |
src/sys/arch/armv7/omap/dmtimer.c | log | diff | annotate | |
src/sys/arch/armv7/omap/gptimer.c | log | diff | annotate | |
src/sys/arch/armv7/sunxi/sxitimer.c | log | diff | annotate | |
src/sys/arch/hppa/dev/clock.c | log | diff | annotate | |
src/sys/arch/i386/i386/lapic.c | log | diff | annotate | |
src/sys/arch/i386/isa/clock.c | log | diff | annotate | |
src/sys/arch/loongson/dev/glxclk.c | log | diff | annotate | |
src/sys/arch/luna88k/luna88k/clock.c | log | diff | annotate | |
src/sys/arch/macppc/macppc/clock.c | log | diff | annotate | |
src/sys/arch/mips64/mips64/clock.c | log | diff | annotate | |
src/sys/arch/powerpc64/powerpc64/clock.c | log | diff | annotate | |
src/sys/arch/riscv64/riscv64/clock.c | log | diff | annotate | |
src/sys/arch/sh/sh/clock.c | log | diff | annotate | |
src/sys/arch/sparc64/sparc64/clock.c | log | diff | annotate | |
message |
clockintr: remove clockintr_init(), clockintr_flags All the state initialization once done in clockintr_init() has been moved to other parts of the kernel. It's a dead function. Remove it. Likewise, the clockintr_flags variable no longer sports any meaningful flags. Remove it. This frees up the CL_* flag namespace, which might be useful to the clockintr frontend if we ever need to add behavior flags to any of those functions. |
date | 2023-09-17T15:05:44Z | |||
---|---|---|---|---|
author | cheloha | |||
files | src/sys/sys/clockintr.h | log | diff | annotate |
message |
struct clockintr_queue: rename "cq_est" to "cq_all" "cq_all" is a more obvious name than "cq_est". It's the list of all established clockintrs. Duh. |
date | 2023-09-17T15:05:45Z | |||
---|---|---|---|---|
author | cheloha | |||
files | src/sys/kern/kern_clockintr.c | log | diff | annotate |
message |
struct clockintr_queue: rename "cq_est" to "cq_all" "cq_all" is a more obvious name than "cq_est". It's the list of all established clockintrs. Duh. |
date | 2023-09-17T15:24:35Z | |||
---|---|---|---|---|
author | cheloha | |||
files | src/sys/kern/kern_clockintr.c | log | diff | annotate |
src/sys/sys/clockintr.h | log | diff | annotate | |
message |
clockintr.h: forward-declare "struct cpu_info" for clockintr_establish() With input from claudio@ and deraadt@. |