Date: Tue, 25 Aug 1998 19:20:55 +0100 (BST) From: Doug Rabson <dfr@nlsystems.com> To: Garrett Wollman <wollman@khavrinen.lcs.mit.edu> Cc: "John S. Dyson" <dyson@iquest.net>, current@FreeBSD.ORG Subject: Re: Serious bug in vm_page.h in current Message-ID: <Pine.BSF.4.01.9808251920270.17263-100000@herring.nlsystems.com> In-Reply-To: <199808251810.OAA02595@khavrinen.lcs.mit.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 25 Aug 1998, Garrett Wollman wrote: > <<On Tue, 25 Aug 1998 19:08:18 +0100 (BST), Doug Rabson <dfr@nlsystems.com> said: > > >> >> PAGE_BWAKEUP would decr busy, and wakeup if PG_WANTED > >> >> and busy == 0. > >> >> > >> >> PAGE_WAKEUP would clear PG_BUSY, and wakeup if PG_WANTED. > >> >> > >> >> Each of the above would ignore the other condition. There will > >> >> be extra wakeups, but those won't significantly affect performance. > > > I think that John's patch as posted will not work at all due to a > > misunderstanding. It will probably just cause hangs since vm_page::busy > > will be decremented but never incremented. > > Not John's patch, John's description of the correct operation > (quoted). > Ah, I understand. Did it help with your problem? -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 951 1891 Fax: +44 181 381 1039 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?Pine.BSF.4.01.9808251920270.17263-100000>