Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F148450166
D14347.1786912921.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
483 B
Referenced Files
None
Subscribers
None
D14347.1786912921.diff
View Options
Index: head/sys/vm/vm_fault.c
===================================================================
--- head/sys/vm/vm_fault.c
+++ head/sys/vm/vm_fault.c
@@ -1135,6 +1135,10 @@
*/
pmap_copy_page(fs.m, fs.first_m);
fs.first_m->valid = VM_PAGE_BITS_ALL;
+ if ((fault_flags & VM_FAULT_WIRE) == 0) {
+ prot &= ~VM_PROT_WRITE;
+ fault_type &= ~VM_PROT_WRITE;
+ }
if (wired && (fault_flags &
VM_FAULT_WIRE) == 0) {
vm_page_lock(fs.first_m);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Aug 16, 8:42 PM (4 h, 22 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29415887
Default Alt Text
D14347.1786912921.diff (483 B)
Attached To
Mode
D14347: Ensure memory consistency on COW
Attached
Detach File
Event Timeline
Log In to Comment