diff options
author | jhb <jhb@FreeBSD.org> | 2010-06-15 19:14:39 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2010-06-15 19:14:39 +0000 |
commit | e645e40d6ba94b46f2d3e4191a81d1da090294a5 (patch) | |
tree | f22312854e6506d523e7ae8b6548db419ac2e72a /lib/libmemstat/memstat_internal.h | |
parent | 3e2692fd422754febd92a4d1613d4c2d454b8adc (diff) | |
download | FreeBSD-src-e645e40d6ba94b46f2d3e4191a81d1da090294a5.zip FreeBSD-src-e645e40d6ba94b46f2d3e4191a81d1da090294a5.tar.gz |
When updating individual CPU's lowest Cx state to use, never set it to a
state lower than the lowest one supported by the current CPU. This closes
some races with changes to the hw.acpi.cpu_cx_lowest sysctl while Cx
states for individual CPUs were changing (e.g. unplugging the AC adapter
of a laptop) that could result in panics.
Submitted by: Giovanni Trematerra
Tested by: David Demelier demelier dot david of gmail
MFC after: 3 days
Diffstat (limited to 'lib/libmemstat/memstat_internal.h')
0 files changed, 0 insertions, 0 deletions