Date: Mon, 22 Nov 2004 00:43:04 -0500 From: "Jorge Mario G. Mazo" <jgutie11@eafit.edu.co> To: FreeBSD-gnats-submit@FreeBSD.org Subject: bin/74227: renice odd behavior Message-ID: <0I7K00CB4FW0AC@smtpmed.epm.net.co> Resent-Message-ID: <200411220550.iAM5oWFV032308@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0I7K00CB4FW0AC>