mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-04 07:31:11 +00:00
Revert revision 1.270: swp_pager_async_iodone() need not perform
VM_LOCK_GIANT(). Discussed with: jeff
This commit is contained in:
parent
8a119ad210
commit
2e2a6fa28a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=146350
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue