Re: Disable hibernate -- Live media shouldn't allow it?

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

 



On Wednesday, May 15, 2013 07:45:48 PM Phillip Susi wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On 05/15/2013 06:29 PM, Rafael J. Wysocki wrote:
> > That said, it is reasonable to expect live CDs not to configure the
> > system to hibernate in response to overheating etc.  But that's not
> > a problem we can address in the kernel.
> 
> How would that be configured?  Initiating the hibernation in response
> to api HOT event is done in the kernel isn't it?

No, I don't think so.  At least I'm not aware of that.  Do you have any
pointers to the kernel code doing that?

> Setting the policy obviously isn't something that can be done in the
> kernel, but it should provide for the ability to have such a policy by
> having a knob user mode has to switch on when it thinks hibernation
> makes any kind of sense.  Simply enabling a swap shouldn't be all it
> takes -- you should have to specify that yes, this swap is configured
> for hibernate/resume.

Actually, it is not all it takes.  You need to point the hibernate code
to the specific swap through the resume= kernel command line option
(there is a default, though).

Thanks,
Rafael


> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.12 (GNU/Linux)
> Comment: Using GnuPG with undefined - http://www.enigmail.net/
> 
> iQEcBAEBAgAGBQJRlB4sAAoJEJrBOlT6nu75oCwIAI2BmGmz/3gZjXuijTtDT90A
> ztcC04GltiCW6ciP8eq87L+dxogUoorR7lyJAeDycafEGscjbu9zaMFf6DL2SheH
> MKEWGg9Kk0j81gl2FDdkKrj6ZJzibcDuEFytcr9kLVE+je7vckUxDueBQvcy7ReK
> P6HYLgy6kEprvlAi8xmhv3CKZRmBi/gzsi6kxSTb32smqJ9l5qFfPSpL6paq6QbX
> 20rUvX0JHF5b8LHAsHgQfyS5DQ50tGVBKwE/X0+CRoVqPmS4tdJVvkp429SlwmJY
> FSPEN2aXESfwtRt/zk9AJRkZN9OCFQP44mVBSRsmjAN/lTTOjb35bdZPRBUP76o=
> =0vb+
> -----END PGP SIGNATURE-----
-- 
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux