1
0
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:
Alan Cox 2002-07-13 04:37:22 +00:00
parent 187e71f35d
commit 9d1291be8f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=99902

View File

@ -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.