From owner-cvs-all Wed Aug 25 0: 7:25 1999 Delivered-To: cvs-all@freebsd.org Received: from ren.detir.qld.gov.au (ns.detir.qld.gov.au [203.46.81.66]) by hub.freebsd.org (Postfix) with ESMTP id 51C3E159DE; Wed, 25 Aug 1999 00:06:59 -0700 (PDT) (envelope-from syssgm@detir.qld.gov.au) Received: by ren.detir.qld.gov.au; id RAA26816; Wed, 25 Aug 1999 17:04:11 +1000 (EST) Received: from ogre.detir.qld.gov.au(167.123.8.3) by ren.detir.qld.gov.au via smap (3.2) id xmaa26778; Wed, 25 Aug 99 17:03:50 +1000 Received: from atlas.detir.qld.gov.au (atlas.detir.qld.gov.au [167.123.8.9]) by ogre.detir.qld.gov.au (8.8.8/8.8.7) with ESMTP id RAA22299; Wed, 25 Aug 1999 17:03:26 +1000 (EST) Received: from nymph.detir.qld.gov.au (nymph.detir.qld.gov.au [167.123.10.10]) by atlas.detir.qld.gov.au (8.8.5/8.8.5) with ESMTP id RAA23653; Wed, 25 Aug 1999 17:03:25 +1000 (EST) Received: from nymph.detir.qld.gov.au (localhost.detir.qld.gov.au [127.0.0.1]) by nymph.detir.qld.gov.au (8.8.8/8.8.7) with ESMTP id RAA14106; Wed, 25 Aug 1999 17:03:24 +1000 (EST) (envelope-from syssgm@nymph.detir.qld.gov.au) Message-Id: <199908250703.RAA14106@nymph.detir.qld.gov.au> To: Alan Cox Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, syssgm@detir.qld.gov.au Subject: Re: cvs commit: src/sys/vm vm_map.h References: <199908231808.LAA86314@freefall.freebsd.org> In-Reply-To: <199908231808.LAA86314@freefall.freebsd.org> from Alan Cox at "Mon, 23 Aug 1999 11:08:35 -0700" Date: Wed, 25 Aug 1999 17:03:24 +1000 From: Stephen McKay Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk On Monday, 23rd August 1999, Alan Cox wrote: >alc 1999/08/23 11:08:35 PDT > > Modified files: > sys/vm vm_map.h > Log: > struct vm_map: > The lock structure cannot be the first element of the vm_map > because this can result in livelock between two or more system > processes trying to kmem_alloc_wait. Wouldn't it have been better to change the lock code to sleep on a field within the lock structure, rather than the first byte? Stephen. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message