Page MenuHomeFreeBSD

D52538.1787222891.diff
No OneTemporary

Size
872 B
Referenced Files
None
Subscribers
None

D52538.1787222891.diff

diff --git a/sys/vm/vm_fault.c b/sys/vm/vm_fault.c
--- a/sys/vm/vm_fault.c
+++ b/sys/vm/vm_fault.c
@@ -1456,11 +1456,10 @@
* and we could end up trying to pagein and pageout the same page
* simultaneously.
*
- * We can theoretically allow the busy case on a read fault if the page
- * is marked valid, but since such pages are typically already pmap'd,
- * putting that special case in might be more effort then it is worth.
- * We cannot under any circumstances mess around with a shared busied
- * page except, perhaps, to pmap it.
+ * We allow the busy case on a read fault if the page is valid. We
+ * cannot under any circumstances mess around with a shared busied
+ * page except, perhaps, to pmap it. This is controlled by the
+ * VM_ALLOC_SBUSY bit in the allocflags argument.
*/
static void
vm_fault_busy_sleep(struct faultstate *fs, int allocflags)

File Metadata

Mime Type
text/plain
Expires
Thu, Aug 20, 10:48 AM (18 h, 38 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29440781
Default Alt Text
D52538.1787222891.diff (872 B)

Event Timeline