[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20091005154021.129a8f9f.akpm@linux-foundation.org>
Date: Mon, 5 Oct 2009 15:40:21 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: Len Brown <lenb@...nel.org>
Cc: rjw@...k.pl, balbir@...ux.vnet.ibm.com,
torvalds@...ux-foundation.org, linux-kernel@...r.kernel.org,
linux-acpi@...r.kernel.org, a.p.zijlstra@...llo.nl,
shaohua.li@...el.com, svaidy@...ux.vnet.ibm.com
Subject: Re: [git pull request] ACPI Processor Aggregator Driver for
2.6.32-rc1
On Mon, 05 Oct 2009 18:20:44 -0400 (EDT)
Len Brown <lenb@...nel.org> wrote:
> > Technical question: the overall feature, which I'd describe as
> > "shutting down CPUs when an external agent tells us the
> > thermal/electrical/other load is too high" is not at all specific to
> > the x86 CPU. Should the code have been designed in such a way as to
> > permit other architectures to play?
>
> I agree with Peter and Vaidy that a generic capability in the Linux
> scheduler would be wonderful. But we don't have that today.
>
> Re: this driver in particular...
> acpi_pad accepts an ACPI event from the platform and then
> does something with it.
>
> Today, ACPI runs on just x86 and ia64, and I'm not aware
> of any plans to implement this particularly feature on ia64 platforms.
The sysfs handling looks generic and the driver can clearly be split
into upper and lower layers, with all the ACPI specificity in the lower
one.
One would need to poll the arch maintainers to find out whether that's
a desirable thing to attempt at the intial stage.
If it _is_ desirable then there's now a risk that the interfaces and
possibly behaviour will change in non-back-compatible ways. Or they
will be stuck with ugly back-compatibility things
But it's all too late now, isn't it. This is the first time that
non-linux-acpi readers knew of the existence of this driver.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists