Re: reproducible "panic: share->excl"



On Tue, Jul 22, 2008 at 01:15:12PM -0400, Andrew Gallatin wrote:
Kostik Belousov wrote:

Essentially, you tried to do the write of the part of the region mmaped
from the file, to the file. The VOP_WRITE() is called with exclusively
locked vnode, while fault handler tried to lock the vnode in shared mode
to page in.

Yes, the operations attempted were rather nonsensical, but should
not have killed the system. Thank you for looking into it.

Why nonsensical ? The operations are legitimate, and kernel must not panic.

The question still open is whether the patch fixed the issue for you.

Attachment: pgpgqkcq7wl45.pgp
Description: PGP signature



Relevant Pages

  • Re: reproducible "panic: share->excl"
    ... locked vnode, while fault handler tried to lock the vnode in shared mode ...
    (freebsd-current)
  • Re: reproducible "panic: share->excl"
    ... locked vnode, while fault handler tried to lock the vnode in shared mode ... a request for the exlusive lock when the current thread already hold the ... It could be argued that lockmgr is a black magic in whole. ...
    (freebsd-current)
  • Re: reproducible "panic: share->excl"
    ... > the appended panic messages. ... locked vnode, while fault handler tried to lock the vnode in shared mode ... I don't like this kind of magics and ecoding in lockmgr. ...
    (freebsd-current)