Re: notify userland about C-state changes

2012-10-04 Thread Ian Smith
On Thu, 4 Oct 2012, Ian Smith wrote: > On Wed, 3 Oct 2012, Andriy Gapon wrote: > > devd notification like for AC line status change. > > I'll buy one, when you MFC it back to 9 (8?) Sorry, that was flippant. Anything preventing applying this to 9, or 8? Ian ___

Re: notify userland about C-state changes

2012-10-04 Thread Ian Smith
On Wed, 3 Oct 2012, Andriy Gapon wrote: > on 03/10/2012 20:40 Ian Smith said the following: > > So are you talking about a devd notification to trigger activity like > > the AC/battery script, or a sysctl that scripts could poll, or? > > devd notification like for AC line status change. I'l

Re: notify userland about C-state changes

2012-10-03 Thread Andriy Gapon
on 03/10/2012 20:40 Ian Smith said the following: > So are you talking about a devd notification to trigger activity like > the AC/battery script, or a sysctl that scripts could poll, or? devd notification like for AC line status change. -- Andriy Gapon _

Re: notify userland about C-state changes

2012-10-03 Thread Ian Smith
On Wed, 3 Oct 2012, Andriy Gapon wrote: > on 03/10/2012 19:21 Sean Bruno said the following: > > On Wed, 2012-10-03 at 06:08 -0700, Andriy Gapon wrote: > >>> > >>> So quick question, does this happen a lot on a system with a > >> sporadic > >>> workload? Does this introduce overhead to the s

Re: notify userland about C-state changes

2012-10-03 Thread Andriy Gapon
on 03/10/2012 19:21 Sean Bruno said the following: > On Wed, 2012-10-03 at 06:08 -0700, Andriy Gapon wrote: >>> >>> So quick question, does this happen a lot on a system with a >> sporadic >>> workload? Does this introduce overhead to the system to service the >>> notification requests? >> >> I am

Re: notify userland about C-state changes

2012-10-03 Thread Sean Bruno
On Wed, 2012-10-03 at 06:08 -0700, Andriy Gapon wrote: > > > > So quick question, does this happen a lot on a system with a > sporadic > > workload? Does this introduce overhead to the system to service the > > notification requests? > > I am not sure who can answer this question. It is up to A

Re: notify userland about C-state changes

2012-10-03 Thread Andriy Gapon
on 02/10/2012 20:18 Sean Bruno said the following: > >> The following patch adds only per-CPU notifications. >> >> acpi_cpu: explicitly notify userland about c-state changes >> >> diff --git a/sys/dev/acpica/acpi_cpu.c b/sys/dev/acpica/acpi_cpu.c >> index 82e204a..15201f9 100644 >> --- a/sys/d

Re: notify userland about C-state changes

2012-10-02 Thread Sean Bruno
> The following patch adds only per-CPU notifications. > > acpi_cpu: explicitly notify userland about c-state changes > > diff --git a/sys/dev/acpica/acpi_cpu.c b/sys/dev/acpica/acpi_cpu.c > index 82e204a..15201f9 100644 > --- a/sys/dev/acpica/acpi_cpu.c > +++ b/sys/dev/acpica/acpi_cpu.c > @