From owner-freebsd-hackers Tue Mar 26 12: 4:43 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from gull.prod.itd.earthlink.net (gull.mail.pas.earthlink.net [207.217.120.84]) by hub.freebsd.org (Postfix) with ESMTP id 8B39737B422 for ; Tue, 26 Mar 2002 12:04:12 -0800 (PST) Received: from pool0210.cvx22-bradley.dialup.earthlink.net ([209.179.198.210] helo=mindspring.com) by gull.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16pxAK-0000DL-00; Tue, 26 Mar 2002 12:03:32 -0800 Message-ID: <3CA0D3FE.8113515C@mindspring.com> Date: Tue, 26 Mar 2002 12:03:10 -0800 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Dan Nelson Cc: Andrew , Volker Stolz , Ian , hackers@FreeBSD.ORG Subject: Re: idprio References: <20020326121046.A3952@margaux.informatik.rwth-aachen.de> <20020326232510.A21338-100000@starbug.ugh.net.au> <20020326153541.GF17825@dan.emsphone.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Dan Nelson wrote: > In the last episode (Mar 26), Andrew said: > > On Tue, 26 Mar 2002, Volker Stolz wrote: > > > Under FreeBSD system calls are currently never preempted, therefore > > > non- realtime processes can starve realtime processes, or idletime > > > processes can starve normal priority processes. > > > > Even so an idprio process can't be worse than a normal process. > > Sure it can, if the idprio process has locked a vnode trying to update > the contents of a file, and another non-idprio process starts consuming > 100% CPU. The idprio process never gets a chance to run again, and if > that vnode happened to be an important one (say for /), you may not be > able to kill the other process without rebooting. You meant that when you use priorities, you risk priority inversion? 8-p -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message