Re: threads/136345: Recursive read rwlocks in thread A cause deadlock with write lock in thread B

[ Available lists | Index of freebsd-threads | Month of Jul 2009 | Week of 16 Jul 2009 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Attilio Rao <attilio@freebsd.org>
Date
16 Jul 2009 12:26:50
Subject
Re: threads/136345: Recursive read rwlocks in thread A cause deadlock with write lock in thread B
Message-ID
3bbf2fe10907160526l2f066698qce8a5e77aee6366b@mail.gmail.com

In reply to
References to
Replies

[ Hide this part ]
2009/7/15 Nick Esborn <nick@desert.net>:
> The following reply was made to PR threads/136345; it has been noted by GNATS.
>
> From: Nick Esborn <nick@desert.net>
> To: bug-followup@FreeBSD.org,
> rink@FreeBSD.org
> Cc:
> Subject: Re: threads/136345: Recursive read rwlocks in thread A cause deadlock with write lock in thread B
> Date: Wed, 15 Jul 2009 14:32:38 -0700
>
> This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
> --Apple-Mail-19-950902279
> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
> Content-Transfer-Encoding: 7bit
>
> Even after the above patch, I still run into occasional MySQL thread
> deadlocks, which I originally described in what is now threads/135673.
>
> I also posted on freebsd-current a few days ago:
>
> http://lists.freebsd.org/pipermail/freebsd-current/2009-July/009328.html
>
> I'd be happy to collect whatever data would be helpful in tracking
> down this deadlock. This only seems to happen under our production
> workload, so that might make it harder to capture meaningful debug
> data, but I'm certainly willing to try. I can also arrange for
> developer access to the system in question, if that would help
> significantly.

So did you backport this to 7 and still experience deadlocks?
I just committed the fix to HEAD not to STABLE branch.

Thanks,
Attilio


--
Peace can only be achieved by understanding - A. Einstein


Elapsed time: 0.121 seconds