Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 May 2009 22:30:33 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/dev/acpica acpi_cpu.c
Message-ID:  <200905022230.n42MUqg8027301@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
mav         2009-05-02 22:30:33 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/acpica       acpi_cpu.c 
  Log:
  SVN rev 191760 on 2009-05-02 22:30:33Z by mav
  
  Avoid comparing negative signed to positive unsignad values. It was
  leading to a bug, when C-state does not decrease on sleep shorter then
  declared transition latency. Fixing this deprecates workaround for broken
  C-states on some hardware.
  
  By the way, change state selecting logic a bit. Instead of last sleep
  time use short-time average of it. Global interrupts rate in system is a
  quite random value, to corellate subsequent sleeps so directly.
  
  Revision  Changes    Path
  1.75      +11 -41    src/sys/dev/acpica/acpi_cpu.c



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