From owner-freebsd-current@FreeBSD.ORG Tue Jun 17 12:51:35 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9678D37B401 for ; Tue, 17 Jun 2003 12:51:35 -0700 (PDT) Received: from mail.chesapeake.net (chesapeake.net [208.142.252.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id D1DDD43F75 for ; Tue, 17 Jun 2003 12:51:34 -0700 (PDT) (envelope-from jroberson@chesapeake.net) Received: from localhost (jroberson@localhost) by mail.chesapeake.net (8.11.6/8.11.6) with ESMTP id h5HJpWB82010; Tue, 17 Jun 2003 15:51:32 -0400 (EDT) (envelope-from jroberson@chesapeake.net) Date: Tue, 17 Jun 2003 15:51:32 -0400 (EDT) From: Jeff Roberson To: Wiktor Niesiobedzki In-Reply-To: <20030617110352.GB395@mail.evip.pl> Message-ID: <20030617154948.G36168-100000@mail.chesapeake.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: current@freebsd.org Subject: Re: ULE nice bugs are fixed. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jun 2003 19:51:35 -0000 On Tue, 17 Jun 2003, Wiktor Niesiobedzki wrote: > On Tue, Jun 17, 2003 at 02:53:36AM -0400, Jeff Roberson wrote: > > > > > > The sources are from today. I also noticed, that 5.1-BETA (build around 9th of > > > May) is working correctly. > > > > > > Also: I've noticed a strange behaviour - if I do nice -n -15 some_prog, it > > > will get a nice of -10, and similiar with any other nice values (it +5 from > > > what it suposed to be). > > > > > > > I shouldn't have spoke so soon. I am not able to reproduce this. Is it > > on SMP or UP? Are you using either libthr or libkse? If you're not sure > > what I'm talking about, you're using neither of them. > Machine is UP (Athlon XP 1600). Currently, I use libc_r. > > > > > Is there anything unusual about your environment? What are you using to > > read the nice values? > My simple test, is to do following: > boot into single mode > nice -n -15 sleep 300 & > I use ps -l to get nice level. > > renice -n -20 [pid of the sleep process] cause the panic. > > Previously I was using CPUTYPE=athlon-xp to build the kernel, but after > switching to i686 the panic persists. > > I'm attaching the full backtrace and result of call kseq_print(0). > I am still not able to reproduce this. Can you update your sources? I commited some code just now that removed an external dependency from sched_nice(). This should make it more robust. Cheers, Jeff