git: acpi - Incidental MPSAFE (2)

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Jan 11 13:14:10 PST 2017


commit 7252c37c03a7b48ac469f92cfbf508c0f41b672b
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Wed Jan 11 13:11:48 2017 -0800

    acpi - Incidental MPSAFE (2)
    
    * The changes in a639f788 revealed bubgs in acpi_thermal's support
      threads.  These threads start executing before the main acpi device
      finishes its attach.  The mplock serialization saved us before, and
      removing it revealed the problem.
    
    * Force serialization using the main acpi lock to prevent the support
      threads from starting up until after the main acpi attach has
      completed.
    
    Reported-by: swildner

Summary of changes:
 sys/dev/acpica/acpi.c         | 11 +++++++++--
 sys/dev/acpica/acpi_thermal.c | 18 +++++++++++++++---
 2 files changed, 24 insertions(+), 5 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7252c37c03a7b48ac469f92cfbf508c0f41b672b


-- 
DragonFly BSD source repository


More information about the Commits mailing list