lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Mon, 11 Apr 2011 08:59:52 +0200
From:	Marc Koschewski <marc@...nowledge.org>
To:	Sitsofe Wheeler <sitsofe@...oo.com>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: nice values zeroed after hibernate/suspend?

* Sitsofe Wheeler <sitsofe@...oo.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ