RE: + restore-missing-sysfs-max_cstate-attr.patch added to -mm tree

Pallipadi, Venkatesh
2007-12-07T21:37:42Z

>-----Original Message-----
>From: Pavel Machek [mailto:pavel@ucw.cz]
>Sent: Wednesday, December 05, 2007 3:17 AM
>To: Pallipadi, Venkatesh
>Cc: Andrew Morton; lkml@rtr.ca; abelay@novell.com;
>lenb@kernel.org; mlord@pobox.com; rjw@sisk.pl;
>linux-kernel@vger.kernel.org; linux-acpi@vger.kernel.org
>Subject: Re: + restore-missing-sysfs-max_cstate-attr.patch
>added to -mm tree
>
>Hi!
>
>> >It is not known whether Mark is actually writing to this
>> >thing. Perhaps
>> >read-only permissions would be a suitable fix?
>> >
>>
>> Exporting it as read only should be OK. We also need to know if there
>> are hard user space dependency on writing to this from userspace.
>
>Some people are manipulating it from their suspend scripts..
>

That is done by default in kernel now. Deep C-states are disabled
between suspend and resume.

Thanks,
Venki