mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-15 10:17:20 +00:00
Lock accesses to the page queues.
This commit is contained in:
parent
187e71f35d
commit
9d1291be8f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=99902
@ -148,7 +148,9 @@ socow_setup(struct mbuf *m0, struct uio *uio)
|
||||
/*
|
||||
* wire the page for I/O
|
||||
*/
|
||||
vm_page_lock_queues();
|
||||
vm_page_wire(pp);
|
||||
vm_page_unlock_queues();
|
||||
|
||||
/*
|
||||
* prevent the process from exiting on us.
|
||||
|
Loading…
Reference in New Issue
Block a user