- 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:
parent
53caed435d
commit
5adae6c622
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user