RE: vm_pager_(de)allocate and vm_mtx

2001-05-29 Thread John Baldwin
On 26-May-01 Dima Dorfman wrote: 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:

Re: vm_pager_(de)allocate and vm_mtx

2001-05-26 Thread Poul-Henning Kamp
In message [EMAIL PROTECTED], Dima Dorfman write s: Alfred Perlstein [EMAIL PROTECTED] writes: * Dima Dorfman [EMAIL PROTECTED] [010525 22:22] wrote: 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)

Re: vm_pager_(de)allocate and vm_mtx

2001-05-26 Thread Peter Wemm
Alfred Perlstein wrote: * Dima Dorfman [EMAIL PROTECTED] [010525 22:22] wrote: 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_(de)allocate and vm_mtx

2001-05-25 Thread Dima Dorfman
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

Re: vm_pager_(de)allocate and vm_mtx

2001-05-25 Thread Alfred Perlstein
* Dima Dorfman [EMAIL PROTECTED] [010525 22:22] wrote: 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

Re: vm_pager_(de)allocate and vm_mtx

2001-05-25 Thread Dima Dorfman
Alfred Perlstein [EMAIL PROTECTED] writes: * Dima Dorfman [EMAIL PROTECTED] [010525 22:22] wrote: 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