NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/57920 CVS commit: src/sys/arch/riscv/riscv



The following reply was made to PR kern/57920; it has been noted by GNATS.

From: "Taylor R Campbell" <riastradh%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/57920 CVS commit: src/sys/arch/riscv/riscv
Date: Sun, 7 Apr 2024 22:59:13 +0000

 Module Name:	src
 Committed By:	riastradh
 Date:		Sun Apr  7 22:59:13 UTC 2024
 
 Modified Files:
 	src/sys/arch/riscv/riscv: clock_machdep.c
 
 Log Message:
 riscv: Schedule next hardclock tick in the future, not the past.
 
 If we have missed hardclock ticks, schedule up to one tick interval
 in the future anyway; don't try to play hardclock catchup by
 scheduling for when the next hardclock tick _should_ have been, in
 the past, leading to ticking as fast as possible until we've caught
 up.  as fast as possible until we've caught up.
 
 Playing hardclock catchup triggers heartbeat panics when continuing
 from ddb, if you've been in ddb for >15sec.  Other hardclock drivers
 like x86 lapic don't play hardclock catchup either.
 
 PR kern/57920
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.7 -r1.8 src/sys/arch/riscv/riscv/clock_machdep.c
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.
 


Home | Main Index | Thread Index | Old Index