From b49c3672d8bd37c1be0a0296635590330c00fc87 Mon Sep 17 00:00:00 2001 From: cheloha Date: Mon, 21 Aug 2023 15:19:09 +0000 Subject: [PATCH] alpha: stop running an independent schedclock() alpha is the only platform still running an independent schedclock(). Disabling it brings alpha's scheduling behavior into line with that of every other platform. With this patch, all platforms call schedclock() from statclock() at an effective schedhz of ~12.5. --- sys/arch/alpha/alpha/clock.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/arch/alpha/alpha/clock.c b/sys/arch/alpha/alpha/clock.c index dc86c35c542..c03cd35993d 100644 --- a/sys/arch/alpha/alpha/clock.c +++ b/sys/arch/alpha/alpha/clock.c @@ -1,4 +1,4 @@ -/* $OpenBSD: clock.c,v 1.28 2023/07/25 18:16:19 cheloha Exp $ */ +/* $OpenBSD: clock.c,v 1.29 2023/08/21 15:19:09 cheloha Exp $ */ /* $NetBSD: clock.c,v 1.29 2000/06/05 21:47:10 thorpej Exp $ */ /* @@ -189,7 +189,6 @@ cpu_initclocks(void) rpcc_timecounter.tc_frequency = cycles_per_sec; tc_init(&rpcc_timecounter); - schedhz = 16; stathz = hz; profhz = stathz; clockintr_init(0); -- 2.20.1