Date: Mon, 6 Mar 1995 08:56:07 -0500 From: starkhome!gene@sbstark.cs.sunysb.edu (Gene Stark) To: davidg@Root.COM Cc: current@FreeBSD.org, dyson@Root.COM Subject: Page fault panics during make world in -current Message-ID: <199503061356.IAA03953@starkhome.cs.sunysb.edu> In-Reply-To: David Greenman's message of Sun, 05 Mar 1995 18:45:07 -0800 <199503060245.SAA00283@corbin.Root.COM>
next in thread | previous in thread | raw e-mail | index | archive | help
Actually, none of the calls to vm_page_lookup() in vfs_bio.c lock the VM object first. However, after some of them, there are even calls to VMWAIT while the pointer to the page is held (e.g. line 1046). Why are you sure that the page will still be valid when VMWAIT is over? The page fault handler goes to great pains to keep checking that a page lookup is still valid after a sleep might have occurred, so I don't think it can really be safe to lookup a page with the object unlocked and then do arbitrary stuff. - Gene
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199503061356.IAA03953>