From 794219458314cbaec8088bc1f9020024c8ba7f4c Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Fri, 21 Jun 2002 05:04:56 +0000 Subject: [PATCH] o Remove GIANT_REQUIRED from vm_pager_allocate() and vm_pager_deallocate(). --- sys/vm/vm_pager.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/sys/vm/vm_pager.c b/sys/vm/vm_pager.c index 4d6d5a9eeec0..c7fd45472e1b 100644 --- a/sys/vm/vm_pager.c +++ b/sys/vm/vm_pager.c @@ -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); }