Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F148522637
D52538.1787222891.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
872 B
Referenced Files
None
Subscribers
None
D52538.1787222891.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D52538: vm_fault_busy_sleep(): update comment after addition of allocflags arg
Attached
Detach File
Event Timeline
Log In to Comment