Subject: kern/24595: uvm_fault: writable mapping for loaned out page
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <firstname.lastname@example.org>
Date: 02/29/2004 02:55:48
>Synopsis: uvm_fault: writable mapping for loaned out page
>Arrival-Date: Sun Feb 29 02:56:00 UTC 2004
>Originator: Stephan Uphoff
uvm_fault can pmap_enter pages in the neighborhood of the fault
address. (Based on memory advise of the corresponding map entry)
Unfortunately it does not check the loan count while
mapping object pages for the fault neighborhood.
( Anon pages are checked - page at fault address is checked )
This can cause loaned out object pages to be write mapped.
Check the loan count - skip pmap_enter or map read only