1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-19 10:53:58 +00:00

Do not clear flag that vm_page_alloc() doesn't support.

Submitted by:	kib
This commit is contained in:
Gleb Smirnoff 2014-12-22 09:00:47 +00:00
parent 89fc8bdbb6
commit 6ee80f259c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=276055

View File

@ -2736,7 +2736,7 @@ vm_page_grab(vm_object_t object, vm_pindex_t pindex, int allocflags)
return (m);
}
}
m = vm_page_alloc(object, pindex, allocflags & ~VM_ALLOC_IGN_SBUSY);
m = vm_page_alloc(object, pindex, allocflags);
if (m == NULL) {
VM_OBJECT_WUNLOCK(object);
VM_WAIT;