public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Marc Koschewski <marc@osknowledge.org>
To: Sitsofe Wheeler <sitsofe@yahoo.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: nice values zeroed after hibernate/suspend?
Date: Mon, 11 Apr 2011 08:59:52 +0200	[thread overview]
Message-ID: <20110411065952.GA2370@marc.osknowledge.org> (raw)
In-Reply-To: <20110410150943.GA11073@sucs.org>

* Sitsofe Wheeler <sitsofe@yahoo.com> [2011-04-10 16:09:44 +0100]:

Thanks, Sitsofe,

I was playing with it again as well and it seemded like the nice values
must somehow have been changed another way. Weird thing. I just
wanted to have it confirmed that it was a PEBKAC error. :)

Regards,
Marc


> 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/
> 
> 

-- 
Marc Koschewski

      reply	other threads:[~2011-04-11  7:00 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
2011-04-11  6:59     ` Marc Koschewski [this message]

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=20110411065952.GA2370@marc.osknowledge.org \
    --to=marc@osknowledge.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sitsofe@yahoo.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox