summaryrefslogtreecommitdiffstats
path: root/sys/vm
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2005-05-18 17:48:04 +0000
committeralc <alc@FreeBSD.org>2005-05-18 17:48:04 +0000
commit0e9f42833ecf4feced5c43717c621666b9d59cab (patch)
tree1592ce5bb14c079f71d3c7f085204759452ffb5b /sys/vm
parentf937a5450c66c654fdf80bbe4f76065e872037d6 (diff)
downloadFreeBSD-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/vm')
-rw-r--r--sys/vm/swap_pager.c2
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);
}
OpenPOWER on IntegriCloud