Re: panic: Lock vm object not exclusively locked _at_ /usr/src/sys/vm/vm_page.c:2637

From: Konstantin Belousov <kostikbel_at_gmail.com>
Date: Sun, 5 Apr 2015 20:37:23 +0300
On Sun, Apr 05, 2015 at 06:47:21PM +0300, Gleb Smirnoff wrote:
> This is r281079.
> 
> Since vm_page_advise() may call vm_page_dirty() in the MADV_DONTNEED case,
> the assertion is valid. So, looks like vm_fault_dontneed() needs W-lock on
> the first_object.
> 
Either this, or vm_page_advise() could be changed to do nothing in the
case of MADV_DONTNEED operation and a need to call vm_page_dirty(), if
the object is only read-locked.
Received on Sun Apr 05 2015 - 15:37:41 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:56 UTC