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

Konstantin Belousov kostikbel at gmail.com
Sun Apr 5 17:37:41 UTC 2015


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.


More information about the freebsd-current mailing list