summaryrefslogtreecommitdiffstats
path: root/lib/libkvm/kvm_proc.c
diff options
context:
space:
mode:
authornjl <njl@FreeBSD.org>2007-06-03 00:40:56 +0000
committernjl <njl@FreeBSD.org>2007-06-03 00:40:56 +0000
commit9116a352cf2b6e47064388733125ed74864a08a9 (patch)
treef81939e5fc00d06f5dc96830f602699549b315aa /lib/libkvm/kvm_proc.c
parent2f5bd0a21fc832c4fe2007ac0aca5b79b93cd898 (diff)
downloadFreeBSD-src-9116a352cf2b6e47064388733125ed74864a08a9.zip
FreeBSD-src-9116a352cf2b6e47064388733125ed74864a08a9.tar.gz
Disable CPU idle states during suspend and reenable them during resume.
While in the suspend path, this means the idle thread will just return immediately rather than trying to enter C1-n. This helps in the case where the chipset is powered down before the rest of the system and reads from the cpu sleep registers begin returning immediately, causing the logic that catches bad C2/C3 behavior to kick in. Observed on my Panasonic Y4. MFC after: 3 days
Diffstat (limited to 'lib/libkvm/kvm_proc.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud