Module Name: src Committed By: riastradh Date: Fri Jul 7 17:05:13 UTC 2023
Modified Files: src/sys/kern: kern_heartbeat.c kern_lock.c Log Message: heartbeat(9): Test whether curcpu is stable, not kpreempt_disabled. kpreempt_disabled worked for my testing because I tested on aarch64, which doesn't have kpreemption. XXX Should move curcpu_stable() to somewhere that other things can use it. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/kern/kern_heartbeat.c cvs rdiff -u -r1.184 -r1.185 src/sys/kern/kern_lock.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.