o Remove GIANT_REQUIRED from vm_pager_allocate() and vm_pager_deallocate().
This commit is contained in:
parent
0a1caef284
commit
569c4cbc61
@ -248,8 +248,6 @@ vm_pager_allocate(objtype_t type, void *handle, vm_ooffset_t size,
|
||||
vm_object_t ret;
|
||||
struct pagerops *ops;
|
||||
|
||||
GIANT_REQUIRED;
|
||||
|
||||
ops = pagertab[type];
|
||||
if (ops)
|
||||
ret = (*ops->pgo_alloc) (handle, size, prot, off);
|
||||
@ -262,7 +260,6 @@ void
|
||||
vm_pager_deallocate(object)
|
||||
vm_object_t object;
|
||||
{
|
||||
GIANT_REQUIRED;
|
||||
(*pagertab[object->type]->pgo_dealloc) (object);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user