Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Aug 1999 17:03:24 +1000
From:      Stephen McKay <syssgm@detir.qld.gov.au>
To:        Alan Cox <alc@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, syssgm@detir.qld.gov.au
Subject:   Re: cvs commit: src/sys/vm vm_map.h 
Message-ID:  <199908250703.RAA14106@nymph.detir.qld.gov.au>
In-Reply-To: <199908231808.LAA86314@freefall.freebsd.org> from Alan Cox at "Mon, 23 Aug 1999 11:08:35 -0700"
References:  <199908231808.LAA86314@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199908250703.RAA14106>