From owner-cvs-sys Wed Feb 4 10:44:58 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA10420 for cvs-sys-outgoing; Wed, 4 Feb 1998 10:44:58 -0800 (PST) (envelope-from owner-cvs-sys) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA09852; Wed, 4 Feb 1998 10:43:47 -0800 (PST) (envelope-from dg@FreeBSD.org) From: David Greenman Received: (from dg@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id KAA21787; Wed, 4 Feb 1998 10:43:13 -0800 (PST) Date: Wed, 4 Feb 1998 10:43:13 -0800 (PST) Message-Id: <199802041843.KAA21787@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/kern kern_resource.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk dg 1998/02/04 10:43:12 PST Modified files: sys/kern kern_resource.c Log: Restrict idleprio to superuser: Realtime priority has to be restricted for reasons which should be obvious. However, for idle priority, there is a potential for system deadlock if an idleprio process gains a lock on a resource that other processes need (and the idleprio process can't run due to a CPU-bound normal process). Fix me! XXX PR: 5639 Revision Changes Path 1.31 +11 -1 src/sys/kern/kern_resource.c