git: kernel - acpi - fix thermal thread loop

Matthew Dillon dillon at crater.dragonflybsd.org
Sun Feb 14 21:38:22 PST 2010


commit 904de2e2e15197210e6741487615f78377366923
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sun Feb 14 21:37:01 2010 -0800

    kernel - acpi - fix thermal thread loop
    
    * The thermal thread was sleeping in tzpool with the thermal lock held,
      causing anyone trying to use the lock (e.g. apm) to block for very
      long periods of time (sometimes forever).
    
    * Properly drop the lock when sleeping.

Summary of changes:
 sys/dev/acpica5/acpi_thermal.c |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/904de2e2e15197210e6741487615f78377366923


-- 
DragonFly BSD source repository





More information about the Commits mailing list