Re: Latches with weak memory ordering (Re: max_wal_senders must die) - Mailing list pgsql-hackers

From Markus Wanner
Subject Re: Latches with weak memory ordering (Re: max_wal_senders must die)
Date
Msg-id 4CE693DA.3020802@bluegap.ch
Whole thread Raw
In response to Re: Latches with weak memory ordering (Re: max_wal_senders must die)  (Aidan Van Dyk <aidan@highrise.ca>)
Responses Re: Latches with weak memory ordering (Re: max_wal_senders must die)
List pgsql-hackers
On 11/19/2010 03:58 PM, Aidan Van Dyk wrote:
> Well, it's not quite enough just to call into the kernel to serialize
> on "some point of memory", because your point is to make sure that
> *this particular piece of memory* is coherent.

Well, that certainly doesn't apply to full fences, that are not specific
to a particular piece of memory. I'm thinking of 'mfence' on x86_64 or
'mf' on ia64.

Regards

Markus Wanner


pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Latches with weak memory ordering (Re: max_wal_senders must die)
Next
From: Alvaro Herrera
Date:
Subject: Re: duplicate connection failure messages