Re: cpuset trouble after hibernate

From: Pavel Machek
Date: Mon Sep 17 2007 - 05:41:36 EST


Hi!

> This is my situation:
> - I mounted the pseudo cpuset filesystem into /dev/cpuset
> - I created a cpuset named oar with my 2 cpus
>
> cat /dev/cpuset/oar/cpus
> 0-1
>
> - Then I hibernate my computer with 'echo -n "disk" >/sys/power/state'
> - After reboot:
>
> cat /dev/cpuset/oar/cpus
> 0
>
> Why did I lost a cpu?
> Is this a normal behavior???

One of the cpus was unplugged during suspend... perhaps some
save/restore is needed during hotplug/unplug?

Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
-
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/