Re: locking against myself in getcacheblk()?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Matthew Dillon
Date: Sunday, December 26, 2010 - 12:09 pm

:Hi.
:I managed to trigger this panic while trying to find out how to
:reliably reproduce another panic (lockmgr: non-zero exclusive count).
:Just issue the following command on a machine running recent -DEVELOPMENT
:(either on i386 or x86_64):
:
:$ grep -r --mmap SomeString /usr/pkgsrc
:
:If this won't trigger the panic but you need kern/vmcore, please let me
:know and I can upload mine to my leaf account.
:
:Best Regards,
:YONETANI Tomokazu.

    How much ram do you have in that machine (so I can reproduce the test).
    I have a feeling that cache cycling of VM pages might tend to trigger
    the (second) panic more often.

    non-zero exclusive counts usually mean an extra lock release or a
    missing lock acquisition for a lockmgr lock.  It can be a little
    trickly if it is a vnode lock since a completely unrelated bit of
    code might be causing the situation and then later on a perfectly
    fine piece of code triggers it.

					-Matt
					Matthew Dillon 
					<dillon@backplane.com>
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
locking against myself in getcacheblk()?, YONETANI Tomokazu, (Sun Dec 26, 9:00 am)
Re: locking against myself in getcacheblk()?, Matthew Dillon, (Sun Dec 26, 12:09 pm)
Re: locking against myself in getcacheblk()?, Matthew Dillon, (Sun Dec 26, 12:39 pm)
Re: locking against myself in getcacheblk()?, Matthew Dillon, (Sun Dec 26, 1:07 pm)
non-zero exclusive count(Re: locking against myself in get ..., YONETANI Tomokazu, (Sun Dec 26, 9:57 pm)
Re: locking against myself in getcacheblk()?, YONETANI Tomokazu, (Mon Jan 3, 7:01 pm)