Re: peculiar suspend/resume bug.

From: Matthew Garrett
Date: Tue Aug 15 2006 - 22:39:31 EST


On Tue, Aug 15, 2006 at 08:37:28PM -0400, Dave Jones wrote:

> cpufreq-applet crashes as soon as the cpu goes offline.
> Now, the applet should be written to deal with this scenario more
> gracefully, but I'm questioning whether or not userspace should
> *see* the unplug/replug that suspend does at all.

As Nigel mentioned, cpu unplug happens just before processes are frozen,
so I guess there's a chance for it to be scheduled. On the other hand,
it's not unreasonable for CPUs to be unplugged during runtime anyway -
perhaps userspace should be able to deal with that?

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