diff options
author | alc <alc@FreeBSD.org> | 2005-05-18 17:48:04 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2005-05-18 17:48:04 +0000 |
commit | 0e9f42833ecf4feced5c43717c621666b9d59cab (patch) | |
tree | 1592ce5bb14c079f71d3c7f085204759452ffb5b /sys | |
parent | f937a5450c66c654fdf80bbe4f76065e872037d6 (diff) | |
download | FreeBSD-src-0e9f42833ecf4feced5c43717c621666b9d59cab.zip FreeBSD-src-0e9f42833ecf4feced5c43717c621666b9d59cab.tar.gz |
Revert revision 1.270: swp_pager_async_iodone() need not perform
VM_LOCK_GIANT().
Discussed with: jeff
Diffstat (limited to 'sys')
-rw-r--r-- | sys/vm/swap_pager.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/vm/swap_pager.c b/sys/vm/swap_pager.c index 785107f..f4d61fb 100644 --- a/sys/vm/swap_pager.c +++ b/sys/vm/swap_pager.c @@ -1399,7 +1399,6 @@ swp_pager_async_iodone(struct buf *bp) int i; vm_object_t object = NULL; - VM_LOCK_GIANT(); bp->b_flags |= B_DONE; /* @@ -1568,7 +1567,6 @@ swp_pager_async_iodone(struct buf *bp) ) ) ); - VM_UNLOCK_GIANT(); splx(s); } |