Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jul 2012 19:30:56 +0300
From:      Vitaly Magerya <vmagerya@gmail.com>
To:        Andriy Gapon <avg@freebsd.org>
Cc:        "freebsd-acpi@freebsd.org" <freebsd-acpi@freebsd.org>, Giovanni Trematerra <gianni@freebsd.org>
Subject:   Re: improve cx_lowest logic
Message-ID:  <CAL409Ky6qmeBUaTeCqrRcvYEH%2BgDUqqUgvpFiKSCt2d361j64g@mail.gmail.com>
In-Reply-To: <4FF95F79.30309@FreeBSD.org>
References:  <4FF95F79.30309@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Andriy Gapon <avg@freebsd.org> wrote:
> I would like to propose the following change for review and testing:
> http://people.freebsd.org/~avg/acpi_cpu_cx_lowest.diff

I just tested this on a laptop that jumps between reporting only
C1, C1 and C2, and C1 through C3; in all cases your patch does
the right thing, so this removes the need for kludges I had to
do earlier; thank you, Andriy.

Will you also change how /etc/rc.d/power_profile selects
lowest_value? It currently uses the maximum from dev.cpu.0.cx_supported,
but with your patch it'll be the right thing to simply use Cmax.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAL409Ky6qmeBUaTeCqrRcvYEH%2BgDUqqUgvpFiKSCt2d361j64g>