Re: Scaling PostgreSQL at multicore Power8 - Mailing list pgsql-hackers

From YUriy Zhuravlev
Subject Re: Scaling PostgreSQL at multicore Power8
Date
Msg-id 1511856.v9c6iWLUD5@dinodell
Whole thread Raw
In response to Re: Scaling PostgreSQL at multicore Power8  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
On Monday 31 August 2015 13:03:07 you wrote:
> That's definitely not correct, you should initialize the atomics using
> pg_atomic_init_u32() and write to by using pg_atomic_write_u32() - not
> access them directly. This breaks the fallback paths.

You right. Now it's just to silence the compiler. 
This patch is concept only.

-- 
YUriy Zhuravlev
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company



pgsql-hackers by date:

Previous
From: "Shulgin, Oleksandr"
Date:
Subject: Adding since-version tags to the docs?
Next
From: Amit Kapila
Date:
Subject: Re: Reducing ClogControlLock contention