DragonFly BSD
DragonFly bugs List (threaded) for 2010-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: [issue1942] non-zero exclusive count(Re: locking against myself in getcacheblk()?)


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Wed, 29 Dec 2010 00:38:12 -0800 (PST)

    Ok, I think I fixed the non-zero exclusive count panic, please try
    with the latest master (I pushed it).

    It looks like a shared->exclusive upgrade can steal an exclusive lock
    out from under an exclusive lock request.  The exclusive lock request
    uses two acquire() operations internally and the upgrade can slip in
    inbetween them.

    The recursive lock that my hold/drop patch addresses is still an issue.
    The hold/drop patch fixes it but might have other problems (the buffer
    can still be invalidated while hold).  I'm still looking into that.

    Please test.

						-Matt



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]