Commit bacb140f authored by Simon J. Gerraty's avatar Simon J. Gerraty
Browse files

Ignore calcru: runtime went backwards for vm_guest

VM's have little control over CPU speed, don't make matters worse
by constantly spaming console.

Reviewed by:	jhb
Differential Revision:	https://reviews.freebsd.org/D33902
parent a9a2cdaf
......@@ -1018,7 +1018,7 @@ calcru1(struct proc *p, struct rusage_ext *ruxp, struct timeval *up,
uu = ruxp->rux_uu;
su = ruxp->rux_su;
tu = ruxp->rux_tu;
} else { /* tu < ruxp->rux_tu */
} else if (vm_guest == VM_GUEST_NO) { /* tu < ruxp->rux_tu */
/*
* What happened here was likely that a laptop, which ran at
* a reduced clock frequency at boot, kicked into high gear.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment