Re: optimizing repeated MVCC snapshots

Florian Weimer <fweimer@bfk.de>

From: Florian Weimer <fweimer@bfk.de>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, Simon Riggs <simon@2ndquadrant.com>, Noah Misch <noah@leadboat.com>, Bruce Momjian <bruce@momjian.us>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2012-01-05T14:01:43Z
Lists: pgsql-hackers
* Robert Haas:

> and (c) architectures (like 32-bit x86) where ordinary 64-bit
> operations aren't atomic but special instructions (cmpxchg8b) can be
> used to get that behavior.

FILD and FIST are atomic, too, and are supported by more
micro-architectures.

-- 
Florian Weimer                <fweimer@bfk.de>
BFK edv-consulting GmbH       http://www.bfk.de/
Kriegsstraße 100              tel: +49-721-96201-1
D-76133 Karlsruhe             fax: +49-721-96201-99