Revert revision 1.270: swp_pager_async_iodone() need not perform

VM_LOCK_GIANT().

Discussed with: jeff
This commit is contained in:
Alan Cox 2005-05-18 17:48:04 +00:00
parent 8a119ad210
commit 2e2a6fa28a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=146350

View file

@ -1399,7 +1399,6 @@ swp_pager_async_iodone(struct buf *bp)
int i; int i;
vm_object_t object = NULL; vm_object_t object = NULL;
VM_LOCK_GIANT();
bp->b_flags |= B_DONE; bp->b_flags |= B_DONE;
/* /*
@ -1568,7 +1567,6 @@ swp_pager_async_iodone(struct buf *bp)
) )
) )
); );
VM_UNLOCK_GIANT();
splx(s); splx(s);
} }