Bug #72805 mutex_delay() creating excess memory traffic, GCC mem barrier needed
Submitted: 30 May 2014 6:17 Modified: 29 Apr 2015 0:14
Reporter: Stewart Smith Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:5.7.7 OS:Any
Assigned to: CPU Architecture:Any
Tags: MySQL, performance, PowerPC

Contributions can be accepted to Open bugs only.

[30 May 2014 6:20] Stewart Smith
use GCC memory barrier in mutex_delay instead of generating memory traffic.

(*) I confirm the code being submitted is offered under the terms of the OCA, and that I am authorized to contribute it.

Attachment: mutex_delay_gcc_barrier.patch (text/x-patch), 471 bytes.

[13 Nov 2014 6:18] Stewart Smith
Updated patch: sets thread priority on POWER, uses proper compiler barrier

(*) I confirm the code being submitted is offered under the terms of the OCA, and that I am authorized to contribute it.

Attachment: mutex_delay_gcc_barrier.patch (text/x-patch), 969 bytes.