Re: [concurrency-interest] RFR: 8065804:JEP171:Clarifications/corrections for fence intrinsics

2014-12-10 Thread Oleksandr Otenko
linearizability gets you? I have not seen anything promising in this direction. Whoever makes this breakthrough will surely reap the world's recognition and respect. /Roman ---- *??:* DT *??????????:* 26 ?? 2014 ?. 20:24 *:* Roman Elizarov; dhol...@

Re: [concurrency-interest] RFR: 8065804: JEP171:Clarifications/corrections for fence intrinsics

2014-12-09 Thread Oleksandr Otenko
ncy-interest-boun...@cs.oswego.edu [mailto:concurrency-interest-boun...@cs.oswego.edu]*On Behalf Of *Oleksandr Otenko *Sent:* Wednesday, 10 December 2014 8:21 AM *Cc:* concurrency-inter...@cs.oswego.edu; core-libs-dev *Subject:* Re: [concurrency-interest] RFR: 8065804: JEP1

RE: [concurrency-interest] RFR: 8065804: JEP171:Clarifications/corrections for fence intrinsics

2014-12-09 Thread David Holmes
ilto:concurrency-interest-boun...@cs.oswego.edu]On Behalf Of Oleksandr Otenko Sent: Wednesday, 10 December 2014 8:21 AM Cc: concurrency-inter...@cs.oswego.edu; core-libs-dev Subject: Re: [concurrency-interest] RFR: 8065804: JEP171:Clarifications/corrections for fence intrinsics In that case I

RE: [concurrency-interest] RFR: 8065804: JEP171:Clarifications/corrections for fence intrinsics

2014-12-09 Thread David Holmes
...@cs.oswego.edu Subject: Re: [concurrency-interest] RFR: 8065804: JEP171:Clarifications/corrections for fence intrinsics I see it differently. The issue is ordering - the inability of non-TSO platforms enforce total order of independent stores. The first loads are also independent and their ordering can

Re: [concurrency-interest] RFR: 8065804: JEP171:Clarifications/corrections for fence intrinsics

2014-12-09 Thread Oleksandr Otenko
tenko [mailto:oleksandr.ote...@oracle.com] *Sent:* Wednesday, 10 December 2014 7:54 AM *To:* dhol...@ieee.org; Hans Boehm *Cc:* core-libs-dev; concurrency-inter...@cs.oswego.edu *Subject:* Re: [concurrency-interest] RFR: 8065804: JEP171:Clarifications/corrections for fence intrinsics Yes,

Re: [concurrency-interest] RFR: 8065804: JEP171:Clarifications/corrections for fence intrinsics

2014-12-09 Thread Oleksandr Otenko
*Sent:* Wednesday, 10 December 2014 6:34 AM *To:* dhol...@ieee.org; Hans Boehm *Cc:* core-libs-dev; concurrency-inter...@cs.oswego.edu *Subject:* Re: [concurrency-interest] RFR: 8065804: JEP171:Clarifications/corrections for fence intrinsics Is the thorn the many allowe

RE: [concurrency-interest] RFR: 8065804: JEP171:Clarifications/corrections for fence intrinsics

2014-12-09 Thread David Holmes
: [concurrency-interest] RFR: 8065804: JEP171:Clarifications/corrections for fence intrinsics Yes, I do understand the reader needs barriers, too. I guess I was wondering more why the reader would need something stronger than what dependencies etc could enforce. I guess I'll read what Martin forw

Re: [concurrency-interest] RFR: 8065804: JEP171:Clarifications/corrections for fence intrinsics

2014-12-09 Thread Oleksandr Otenko
Behalf Of *Oleksandr Otenko *Sent:* Wednesday, 10 December 2014 6:04 AM *To:* Hans Boehm; dhol...@ieee.org *Cc:* core-libs-dev; concurrency-inter...@cs.oswego.edu *Subject:* Re: [concurrency-interest] RFR: 8065804: JEP171:Clarifications/corrections for fence intrinsics On

RE: [concurrency-interest] RFR: 8065804: JEP171:Clarifications/corrections for fence intrinsics

2014-12-09 Thread David Holmes
o.edu]On Behalf Of Oleksandr Otenko Sent: Wednesday, 10 December 2014 6:04 AM To: Hans Boehm; dhol...@ieee.org Cc: core-libs-dev; concurrency-inter...@cs.oswego.edu Subject: Re: [concurrency-interest] RFR: 8065804: JEP171:Clarifications/corrections for fence intrinsics On 26/11/2014

RE: [concurrency-interest] RFR: 8065804: JEP171:Clarifications/corrections for fence intrinsics

2014-12-09 Thread David Holmes
ego.edu]On Behalf Of Oleksandr Otenko Sent: Wednesday, 10 December 2014 6:34 AM To: dhol...@ieee.org; Hans Boehm Cc: core-libs-dev; concurrency-inter...@cs.oswego.edu Subject: Re: [concurrency-interest] RFR: 8065804: JEP171:Clarifications/corrections for fence intrinsics Is the thorn the ma

Re: [concurrency-interest] RFR: 8065804: JEP171:Clarifications/corrections for fence intrinsics

2014-12-09 Thread Oleksandr Otenko
*Sent:* Wednesday, 26 November 2014 12:04 PM *To:* dhol...@ieee.org *Cc:* Stephan Diestelhorst; concurrency-inter...@cs.oswego.edu; core-libs-dev *Subject:* Re: [concurrency-interest] RFR: 8065804: JEP171:Clarifications/corrections for fence intrinsics To be concrete here, on

Re: [concurrency-interest] RFR: 8065804: JEP171:Clarifications/corrections for fence intrinsics

2014-12-09 Thread Martin Buchholz
On Tue, Dec 9, 2014 at 12:04 PM, Oleksandr Otenko wrote: > On 26/11/2014 02:04, Hans Boehm wrote: >> >> To be concrete here, on Power, loads can normally be ordered by an address >> dependency or light-weight fence (lwsync). However, neither is enough to >> prevent the questionable outcome for IR

Re: [concurrency-interest] RFR: 8065804: JEP171:Clarifications/corrections for fence intrinsics

2014-12-09 Thread Oleksandr Otenko
On 26/11/2014 02:04, Hans Boehm wrote: To be concrete here, on Power, loads can normally be ordered by an address dependency or light-weight fence (lwsync). However, neither is enough to prevent the questionable outcome for IRIW, since it doesn't ensure that the stores in T1 and T2 will be mad

Re: [concurrency-interest] RFR: 8065804:JEP171:Clarifications/corrections for fence intrinsics

2014-12-01 Thread DT
.oswego.edu; core-libs-dev *Subject:* RE: [concurrency-interest] RFR: 8065804:JEP171:Clarifications/corrections for fence intrinsics Can you expand on that please. All previous discussion of IRIW I have seen indicated that the property, while a consequence of existing JMM rules, had no practical use. T

Re: [concurrency-interest] RFR: 8065804: JEP171:Clarifications/corrections for fence intrinsics

2014-12-01 Thread Hans Boehm
:* dhol...@ieee.org > *Cc:* Stephan Diestelhorst; concurrency-inter...@cs.oswego.edu; > core-libs-dev > *Subject:* Re: [concurrency-interest] RFR: 8065804: > JEP171:Clarifications/corrections for fence intrinsics > > To be concrete here, on Power, loads can normally be ordered b

Re: [concurrency-interest] RFR: 8065804: JEP171:Clarifications/corrections for fence intrinsics

2014-12-01 Thread Hans Boehm
To be concrete here, on Power, loads can normally be ordered by an address dependency or light-weight fence (lwsync). However, neither is enough to prevent the questionable outcome for IRIW, since it doesn't ensure that the stores in T1 and T2 will be made visible to other threads in a consistent

RE: [concurrency-interest] RFR: 8065804:JEP171:Clarifications/corrections for fence intrinsics

2014-11-26 Thread David Holmes
November 2014 6:49 PM To: dhol...@ieee.org; Hans Boehm Cc: concurrency-inter...@cs.oswego.edu; core-libs-dev Subject: RE: [concurrency-interest] RFR: 8065804:JEP171:Clarifications/corrections for fence intrinsics There is no conceivable way to kill IRIW consistency requirement while retaining

RE: [concurrency-interest] RFR: 8065804: JEP171:Clarifications/corrections for fence intrinsics

2014-11-25 Thread David Holmes
jkhbo...@gmail.com [mailto:hjkhbo...@gmail.com]On Behalf Of Hans Boehm Sent: Wednesday, 26 November 2014 12:04 PM To: dhol...@ieee.org Cc: Stephan Diestelhorst; concurrency-inter...@cs.oswego.edu; core-libs-dev Subject: Re: [concurrency-interest] RFR: 8065804: JEP171:Clarifications/corrections for

RE: [concurrency-interest] RFR: 8065804: JEP171:Clarifications/corrections for fence intrinsics

2014-11-25 Thread David Holmes
Stephan Diestelhorst writes: > > David Holmes wrote: > > Stephan Diestelhorst writes: > > > Am Dienstag, 25. November 2014, 11:15:36 schrieb Hans Boehm: > > > > I'm no hardware architect, but fundamentally it seems to me that > > > > > > > > load x > > > > acquire_fence > > > > > > > > imposes a mu