Open Bug 1496426 Opened 7 years ago Updated 3 years ago

Use GCC atomic builtins for Linux x86/x86_64

Categories

(NSPR :: NSPR, enhancement)

enhancement

Tracking

(Not tracked)

People

(Reporter: ueno, Unassigned)

Details

Attachments

(1 file)

For Linux x86{,_64}, the PR_Atomic* functions are implemented in assembly; that means that the linked binary can't benefit from the hardening by the compiler, such as CET: https://software.intel.com/sites/default/files/managed/4d/2a/control-flow-enforcement-technology-preview.pdf What about porting them to use the GCC primitives?
Attachment #9014400 - Flags: review?(kaie)
What is the expected effect of the change? Do you anticipate a change in speed? I suggest to execute a Firefox try build, include the "Talos" performance testing, with your suggested change, and compare the effect it has on performance.
QA Contact: jjones
Assignee: nobody → dueno
Attachment #9014400 - Flags: review?(kaie)

The bug assignee didn't login in Bugzilla in the last 7 months, so the assignee is being reset.

Assignee: dueno → nobody
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: