Date: Tue, 17 Aug 2004 01:33:16 +0400 From: Roman Kurakin <rik@cronyx.ru> To: John Baldwin <jhb@FreeBSD.org> Cc: FreeBSD Current <freebsd-current@FreeBSD.org> Subject: Re: LOR Message-ID: <4121281C.10006@cronyx.ru> In-Reply-To: <200408161159.11250.jhb@FreeBSD.org> References: <4120A660.9070909@cronyx.ru> <200408161159.11250.jhb@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
John Baldwin: >On Monday 16 August 2004 08:19 am, Roman Kurakin wrote: > > >>Hi, >> >> Question to gurus. Does witness keep in mind lock recursion when >>it checks for LORs. >> >> > >Well, I'm not sure if I understand exactly what you are asking, but witness > My question was silly cause it is based on very silly ideas. >only does lock order checks when you first acquire the lock. Any recursive >locks will skip the order checking altogether since recursive acquires can >never block. Similarly, trylock operations also stick order checks > You've answered just that I want to know. Thanks! >altogether since they can never block either. > rik
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4121281C.10006>