diff options
author | Scott Soule Cheloha <cheloha@cvs.openbsd.org> | 2023-08-21 15:19:10 +0000 |
---|---|---|
committer | Scott Soule Cheloha <cheloha@cvs.openbsd.org> | 2023-08-21 15:19:10 +0000 |
commit | e3f84da62059d233c4179cbe4848a0681f22aa23 (patch) | |
tree | 888a1ddd2722458f0c534dbc16863c8ad65186fa /sys/arch/alpha | |
parent | c7bc31c0ed1afd8585be277c7b4fbba94e9e6059 (diff) |
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.
Diffstat (limited to 'sys/arch/alpha')
-rw-r--r-- | sys/arch/alpha/alpha/clock.c | 3 |
1 files changed, 1 insertions, 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); |