Is there a reason vm_pager_allocate acquires vm_mtx itself if
necessary but vm_pager_deallocate does not? At the moment, detaching
an md(4) disk will panic the system with a failed mtx_assert in
vm_pager_deallocate. This can be fixed one of two ways:
vm_pager_deallocate could be made to deal with vm_mtx itself like
vm_pager_allocate does, or md(4) and any other drivers which call
vm_pager_deallocate can be fixed to acquire vm_mtx. So which will it
be? I'll supply patches for either case.
Thanks,
Dima Dorfman
[EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message