From owner-freebsd-current Mon Jun 24 6: 8:21 2002 Delivered-To: freebsd-current@freebsd.org Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by hub.freebsd.org (Postfix) with ESMTP id 71E6937B40A for ; Mon, 24 Jun 2002 06:08:08 -0700 (PDT) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.12.3/8.12.3) with ESMTP id g5OD84w5031969; Mon, 24 Jun 2002 09:08:04 -0400 (EDT) (envelope-from arr@watson.org) Received: from localhost (arr@localhost) by fledge.watson.org (8.12.3/8.12.3/Submit) with SMTP id g5OD838r031966; Mon, 24 Jun 2002 09:08:04 -0400 (EDT) X-Authentication-Warning: fledge.watson.org: arr owned process doing -bs Date: Mon, 24 Jun 2002 09:08:03 -0400 (EDT) From: "Andrew R. Reiter" To: Julian Elischer Cc: FreeBSD current users Subject: Re: UMA/MTX ..last thing stopping KSE M-III In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 24 Jun 2002, Julian Elischer wrote: : :I am seeing the following error messages: : :../../../vm/uma_core.c:1331: could sleep with "process lock" locked from :../../../kern/kern_proc.c:258 : :Though the system is really quite stable now. : :anyone understand well what this message is trying to say? : You're holding PROC_LOCK(), obtained at kern_proc line 258, over a function call that could block (I assume malloc(9) with M_WAITOK). The fix is to change the locking to properly not hold the lock over the possible sleep situation. Cheers, -- Andrew R. Reiter arr@watson.org arr@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message