NetBSD-Bugs archive

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

PR/58633 CVS commit: src/sys/kern



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

From: "Taylor R Campbell" <riastradh%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/58633 CVS commit: src/sys/kern
Date: Sun, 25 Aug 2024 01:14:02 +0000

 Module Name:	src
 Committed By:	riastradh
 Date:		Sun Aug 25 01:14:01 UTC 2024
 
 Modified Files:
 	src/sys/kern: kern_heartbeat.c
 
 Log Message:
 heartbeat(9): Use the cheaper and equally safe time_uptime32.
 
 Since we cache this every 15sec, and check it within a tick, there's
 no way for this to wrap around without first triggering a heartbeat
 panic.  So just use time_uptime32, the low 32 bits of the number of
 seconds of uptime -- cheaper on LP32 platforms.
 
 PR kern/58633: heartbeat(9) makes unnecessary use of time_uptime
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.13 -r1.14 src/sys/kern/kern_heartbeat.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