Re: [PATCH] PM: Hide CONFIG_PM from users

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Feb 7, 2011 at 13:22, Mark Brown
<broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
> It is very rare to find a current system which is both sufficiently
> resource constrained to want to compile out power management support
> and sufficiently power insensitive to be able to tolerate doing so.

Hmmm...

> --- a/kernel/power/Kconfig
> +++ b/kernel/power/Kconfig
> @@ -1,23 +1,6 @@
> Âconfig PM
> - Â Â Â bool "Power Management support"
> - Â Â Â depends on !IA64_HP_SIM
> - Â Â Â ---help---
> - Â Â Â Â "Power Management" means that parts of your computer are shut
> - Â Â Â Â off or put into a power conserving "sleep" mode if they are not
> - Â Â Â Â being used. ÂThere are two competing standards for doing this: APM
> - Â Â Â Â and ACPI. ÂIf you want to use either one, say Y here and then also
> - Â Â Â Â to the requisite support below.

Good to see the PC-centric comments are going away :-)

> -
> - Â Â Â Â Power Management is most important for battery powered laptop
> - Â Â Â Â computers; if you have a laptop, check out the Linux Laptop home
> - Â Â Â Â page on the WWW at <http://www.linux-on-laptops.com/> or
> - Â Â Â Â Tuxmobil - Linux on Mobile Computers at <http://www.tuxmobil.org/>
> - Â Â Â Â and the Battery Powered Linux mini-HOWTO, available from
> - Â Â Â Â <http://www.tldp.org/docs.html#howto>.
> -
> - Â Â Â Â Note that, even if you say N here, Linux on the x86 architecture
> - Â Â Â Â will issue the hlt instruction if nothing is to be done, thereby
> - Â Â Â Â sending the processor to sleep and saving power.
> + Â Â Â bool
> + Â Â Â default y if !IA64_HP_SIM

The following architectures do not source "kernel/power/Kconfig":

alpha
cris
h8300
Kconfig
m32r
m68k
m68knommu
microblaze
parisc
score
sparc
tile
um
xtensa

Which means that (for now) I don't have to care that CONFIG_PM becomes
unclearable. Other people may care, though...

Gr{oetje,eeting}s,

            Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
             Â Â -- Linus Torvalds
_______________________________________________
linux-pm mailing list
linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/linux-pm



[Index of Archives]     [Linux ACPI]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [CPU Freq]     [Kernel Newbies]     [Fedora Kernel]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux