* Sysfs nodes deleted and recreated on SMP suspend
@ 2011-08-26 20:08 Jeff Ohlstein
0 siblings, 0 replies; 2+ messages in thread
From: Jeff Ohlstein @ 2011-08-26 20:08 UTC (permalink / raw)
To: linux-pm; +Cc: LKML
So I have been working with the cpufreq sysfs nodes on an SMP system,
and one thing I noticed is that they go away each time I suspend and
resume. This is due to the use of the hotplug mechanism for suspend. I
am able to handle these failures by checking for the error and reopening
the file, but having to do this each time the system suspends seems
unnecessary to me.
Does anyone see any value in making these nodes stay around, at least in
the suspend case of hotplug? I understand that they should go away on
systems where a cpu can actually be physically removed, but if we are
just suspending it seems like we should be as transparent to userspace
as possible.
Jeff
--
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Sysfs nodes deleted and recreated on SMP suspend
@ 2011-08-26 20:08 Jeff Ohlstein
0 siblings, 0 replies; 2+ messages in thread
From: Jeff Ohlstein @ 2011-08-26 20:08 UTC (permalink / raw)
To: linux-pm; +Cc: LKML
So I have been working with the cpufreq sysfs nodes on an SMP system,
and one thing I noticed is that they go away each time I suspend and
resume. This is due to the use of the hotplug mechanism for suspend. I
am able to handle these failures by checking for the error and reopening
the file, but having to do this each time the system suspends seems
unnecessary to me.
Does anyone see any value in making these nodes stay around, at least in
the suspend case of hotplug? I understand that they should go away on
systems where a cpu can actually be physically removed, but if we are
just suspending it seems like we should be as transparent to userspace
as possible.
Jeff
--
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-08-26 20:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-26 20:08 Sysfs nodes deleted and recreated on SMP suspend Jeff Ohlstein
-- strict thread matches above, loose matches on Subject: below --
2011-08-26 20:08 Jeff Ohlstein
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.