- VM_LOCK_GIANT in the swap pager's iodone routine as VFS will soon call it

without Giant.

Sponsored by:	Isilon Systems, Inc.
This commit is contained in:
jeff 2005-04-30 11:25:49 +00:00
parent 53caed435d
commit 5adae6c622

View File

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