lkml.org 
[lkml]   [2005]   [Apr]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] generate hotplug events for cpu online
On Thu, Apr 21, 2005 at 08:46:56PM +0200, Pavel Machek wrote:
> Hi!
>
> > We already do kobject_hotplug for cpu offline; this adds a
> > kobject_hotplug call for the online case. This is being requested by
> > developers of an application which wants to be notified about both
> > kinds of events.
>
> I'm afraid of bad interactions with swsusp/S3 on smp. We offline cpus there,
> but we probably do not want userland to know...

The kobject_hotplug calls for cpu online and offline are present only
in the code paths where the operation is initiated through the sysfs
interface, so I don't think you have to worry.

Nathan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-04-22 02:27    [W:0.057 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site