Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Jul 2009 08:27:12 +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:  <200907160827.n6G8RRvr030822@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
mav         2009-07-16 08:27:12 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_7)
    sys/dev/acpica       acpi_cpu.c 
  Log:
  SVN rev 195714 on 2009-07-16 08:27:12Z by mav
  
  MFC rev. 191760, 191763, 191764.
  
  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.
  
  Make dev.cpu.X.cx_usage sysctl also report current average of sleep time.
  
  Revision  Changes    Path
  1.67.2.6  +13 -43    src/sys/dev/acpica/acpi_cpu.c



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