Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
HardenedBSD
HardenedBSD
Commits
d29f674f
Commit
d29f674f
authored
Dec 15, 2019
by
Jeff Roberson
Browse files
Fix a mistake in r355765. We need to activate the page if it is not yet
on a pagequeue. Reported by: pho
parent
5ca70a46
Changes
1
Hide whitespace changes
Inline
Side-by-side
sys/kern/uipc_shm.c
View file @
d29f674f
...
...
@@ -209,7 +209,9 @@ uiomove_object_page(vm_object_t obj, size_t len, struct uio *uio)
error
=
uiomove_fromphys
(
&
m
,
offset
,
tlen
,
uio
);
if
(
uio
->
uio_rw
==
UIO_WRITE
&&
error
==
0
)
vm_page_set_dirty
(
m
);
vm_page_aflag_set
(
m
,
PGA_REFERENCED
);
vm_page_lock
(
m
);
vm_page_activate
(
m
);
vm_page_unlock
(
m
);
vm_page_sunbusy
(
m
);
return
(
error
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment