From: Sitsofe Wheeler <sitsofe@yahoo.com>
To: Marc Koschewski <marc@osknowledge.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: nice values zeroed after hibernate/suspend?
Date: Sun, 10 Apr 2011 16:09:44 +0100 [thread overview]
Message-ID: <20110410150943.GA11073@sucs.org> (raw)
In-Reply-To: <20110409223228.GB23372@marc.osknowledge.org>
On Sun, Apr 10, 2011 at 12:32:28AM +0200, Marc Koschewski wrote:
> >
> > I could report a false positive here when I'm dumb but ... it seems
> > like the nice values given to a process (-20) are zeroed (=0) when I
> > resume. Could anyone
> > please re-test this?
A suspend to ram/resume still shows a correctly set nice value on
my 2.6.39-rc2-00120-g94c8a98:
# nice -n -20 sleep 200 &
[1] 2460
# ps -eo "%c %n" | grep [s]leep
sleep -20
pm-suspend
<resume>
# ps -eo "%c %n" | grep [s]leep
sleep -20
--
Sitsofe | http://sucs.org/~sits/
next prev parent reply other threads:[~2011-04-10 15:09 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-09 22:30 nice values zeroed after hibernate/suspend? Marc Koschewski
2011-04-09 22:32 ` Marc Koschewski
2011-04-10 15:09 ` Sitsofe Wheeler [this message]
2011-04-11 6:59 ` Marc Koschewski
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=20110410150943.GA11073@sucs.org \
--to=sitsofe@yahoo.com \
--cc=linux-kernel@vger.kernel.org \
--cc=marc@osknowledge.org \
/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.