bin/74227: renice odd behavior
Jorge Mario G. Mazo
jgutie11 at eafit.edu.co
Mon Nov 22 05:50:33 GMT 2004
>Number: 74227
>Category: bin
>Synopsis: renice odd behavior
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Nov 22 05:50:31 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Jorge Mario G. Mazo
>Release: FreeBSD 5.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD mosca.linopryne.com 5.3-STABLE FreeBSD 5.3-STABLE #0: Wed Nov 10 13:25:53 UTC 2004 root at mosca.linopryne.com:/usr/obj/usr/src/sys/SALMONELA i386
>Description:
When you renice a proces to 20 and the you renice it to -20
it wont jump from 20 to -20. it'll jump from 20 to 0
so you have to renice it again to actually get the -20 value
*Same thing happens backwards (-20 to 20)
>How-To-Repeat:
"I started from a -20 value"
CASE1:
-su-2.05b# renice -n 20 -p 426
426: old priority -20, new priority 0
-su-2.05b# renice -n 20 -p 426
426: old priority 0, new priority 20
-su-2.05b#
CASE2:
-su-2.05b# renice -n -20 -p 426
426: old priority 20, new priority 0
-su-2.05b# renice -n -20 -p 426
426: old priority 0, new priority -20
-su-2.05b#
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list