This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Libitm issues porting to POWER8 HTM
- From: Peter Bergner <bergner at vnet dot ibm dot com>
- To: Andi Kleen <andi at firstfloor dot org>
- Cc: "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>, Andreas Krebbel <krebbel at linux dot ibm dot com>
- Date: Tue, 18 Jun 2013 13:48:13 -0500
- Subject: Re: Libitm issues porting to POWER8 HTM
- References: <1371257094 dot 1396 dot 189 dot camel at otta> <871u7zgtx9 dot fsf at tassilo dot jf dot intel dot com>
On Tue, 2013-06-18 at 11:22 -0700, Andi Kleen wrote:
> Peter Bergner <bergner@vnet.ibm.com> writes:
> >
> > I have yet to track down who has the write lock and why, but I am working
> > towards that. Talking with Andreas, he said he is seeing the same failure
> > on S390, so I'm wondering whether this might be a generic libitm issue
> > and it might hit Intel too. Does anyone know whether this executes correctly
> > on Intel hardware with RTM? I'll note that if I hack the call to
>
> FWIW on a TSX system I get the following for libitm with current
> trunk. So no hangs on reentrant at least.
Given Torvald's comment, can you verify whether your hw txn succeeds
(all the way to commit) or whether it is failing and somehow skips
the fall through code that is hanging for us (Power and S390)?
Thanks!
Peter