mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 12:28:58 +00:00
o Remove GIANT_REQUIRED from vm_pager_allocate() and vm_pager_deallocate().
This commit is contained in:
parent
0ba151b79e
commit
7942194583
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=98538
@ -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