Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Aug 2004 06:22:17 +0000 (UTC)
From:      Nate Lawson <njl@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/dev/acpica acpi_thermal.c
Message-ID:  <200408130622.i7D6MHFM071232@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
njl         2004-08-13 06:22:17 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/acpica       acpi_thermal.c 
  Log:
  MPSAFE locking
  
  * Restructure the event handling path.  acpi_tz_thread() now calls
    acpi_tz_timeout() any time an event occurs.  acpi_tz_timeout() checks
    the flags and calls acpi_tz_power_profile(), acpi_tz_establish(), and
    acpi_tz_monitor() as appropriate.  Notifies only do a wakeup and let
    acpi_tz_thread() do the actual work.  This path is cleaner and allows
    locking since the call path is now always a D.A.G.
  * Add the acpi_tz_signal() function to set flags and wake the thread.
  * Remove the tz_tmp_updating flag since calls are serialized by
    acpi_tz_thread().
  * Remove Giant locking.
  
  Revision  Changes    Path
  1.48      +109 -121  src/sys/dev/acpica/acpi_thermal.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408130622.i7D6MHFM071232>