All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@ucw.cz>
To: Nicolas Capit <nicolas.capit@imag.fr>
Cc: linux-kernel@vger.kernel.org, pj@sgi.com,
	Simon Derr <Simon.Derr@bull.net>
Subject: Re: cpuset trouble after hibernate
Date: Sun, 9 Sep 2007 11:18:56 +0000	[thread overview]
Message-ID: <20070909111856.GA4610@ucw.cz> (raw)
In-Reply-To: <20070908204438.3bf03d85@localhost.localdomain>

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

  reply	other threads:[~2007-09-17  9:41 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-08 18:44 cpuset trouble after hibernate Nicolas Capit
2007-09-09 11:18 ` Pavel Machek [this message]
2007-09-19  0:59   ` Paul Menage
2007-09-10  9:45 ` Simon Derr
2007-09-10  9:55   ` Nicolas Capit
2007-09-15  8:08   ` Andrew Morton
2007-09-17 18:04     ` Paul Menage
2007-09-17 18:11     ` Balbir Singh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070909111856.GA4610@ucw.cz \
    --to=pavel@ucw.cz \
    --cc=Simon.Derr@bull.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nicolas.capit@imag.fr \
    --cc=pj@sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.