PostgreSQL Needs optimized Aarch64 spinlocks

Bug #1081058 reported by Marcin Juszkiewicz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro AArch64 cross-distro work
Fix Released
Low
Unassigned
Linaro OpenEmbedded
Fix Released
Undecided
Unassigned

Bug Description

I had to add "--disable-spinlocks" to build PostgreSQL 8.4.7 for AArch64.

Did not checked other versions.

Revision history for this message
Marcin Juszkiewicz (hrw) wrote :

"--disable-spinlocks" is merged into upstream OE. Once we get patch to add spinlocks support I will change status and merge patch.

Changed in linaro-oe:
status: New → Fix Released
Fathi Boudra (fboudra)
Changed in linaro-oe:
milestone: none → 13.01
Revision history for this message
Riku Voipio (riku-voipio) wrote :

We still need proper port for this for maximum performance of postgresql.

Also, the arm version in s_lock.h uses swpb which is depreated in armv6+. This should also be fixed for LEG.

Revision history for this message
Marcin Juszkiewicz (hrw) wrote :

I agree that we need proper port.

Changed in linaro-aarch64:
status: New → Triaged
importance: Undecided → Low
summary: - No spinlock support in PostgreSQL
+ PostgreSQL Needs optimized Aarch64 spinlocks
Revision history for this message
Riku Voipio (riku-voipio) wrote :

Postgressql 9.3 is using __sync_lock_test_and_set, so this is fixed upstream already.

Changed in linaro-aarch64:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.