http://defect.opensolaris.org/bz/show_bug.cgi?id=6650
Summary: Extreme stress testing of code-review changes hangs
system
Classification: Development
Product: power-mgmt
Version: unspecified
Platform: Other
OS/Version: Solaris
Status: NEW
Severity: minor
Priority: P3
Component: c-state
AssignedTo: bill.holler at sun.com
ReportedBy: bill.holler at sun.com
CC: tesla-dev at opensolaris.org
System hangs when running cpu_stress tests along with enable/disable
cpu_deep_idle.
Idle threads check if cpu_deep_idle is enabled before entering Deep C-states.
The check is done before acquiring the lock which protects state.
Idle CPUs enable interrupts in their spin loop to acquire hpet_proxy_lock.
The configure thread can sneak in and change state to cpu-deep_idle disabled
after an idle thread checks state but before it grabs the hpet_proxy_lock.
The fix is to check state after acquiring hpet_proxy_lock.
Stress tests hangs systems without the fix in seconds.
System survived two hours of stress tests with the fix.
--
Configure bugmail: http://defect.opensolaris.org/bz/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.