Date: Mon, 23 Jul 2001 07:27:42 -0400 From: Jake Burkholder <jake@k7.locore.ca> To: Julian Elischer <julian@elischer.org> Cc: jhb@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: mutex blocking queues.. Message-ID: <200107231127.f6NBRg985918@k7.locore.ca> In-Reply-To: Message from Julian Elischer <julian@elischer.org> of "Mon, 23 Jul 2001 01:00:24 PDT." <3B5BD998.3E8A6E7E@elischer.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> Why does the mutex not link blocked processes though the > sleep queue linked list entry? Why does it use the run queue entry? Because in some cases its necessary for a process to acquire mutexes while its on the sleep queue. If they used the same linkage the queues would get corrupted. > In KSEs the sleep queue and run queue enties go into different > sub structures and ahve different types so this breaks... > do I need to do something sleazy or can I just link them together using the > equivalemt of the p_slpq entry? It seems to me that whatever gets placed on the run queues should also be what goes on the mutex queues. > > -- > +------------------------------------+ ______ _ __ > | __--_|\ Julian Elischer | \ U \/ / hard at work in > | / \ julian@elischer.org +------>x USA \ a very strange > | ( OZ ) \___ ___ | country ! > +- X_.---._/ presently in San Francisco \_/ \\ > v > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200107231127.f6NBRg985918>
