Re: [Gc] test_stack on powerpc (power7)

Pavel Raiskup <[email protected]> Wed, 27 Jul 2016 16:40:08 +0200
Newsgroups gmane.comp.programming.garbage-collection.boehmgc
Message-ID <[email protected]>
On Sunday, February 16, 2014 7:20:13 PM CEST Ivan Maidanski wrote:
>  Hi Will,
> 
> I don't think current definition of AO_load is incorrect. (The definition
> has never been changed and all other supported platforms have the same
> no-barrier atomic load definition.)
> 
> Probably the barrier should be added to stack implementation.
> Is it really correct to have "first = AO_load(list)" (in AO_stack_pop_explicit_aux_acquire) instead of "first = AO_load_acquire(list)" ?

I've seen Fedora maintainer applied this workaround downstream.  My question is
whether it is better to have it applied, or rather not.

Note that there were some attempts to make this work on ppc64 before:
http://comments.gmane.org/gmane.comp.programming.garbage-collection.boehmgc/5470

That thread is however scattered across several mailing list archives -> I've
posted one patch for which I would love to hear ideas:
http://www.hpl.hp.com/hosted/linux/mail-archives/gc/2012-December/005507.html

Pavel