Open
Bug 1496426
Opened 7 years ago
Updated 3 years ago
Use GCC atomic builtins for Linux x86/x86_64
Categories
(NSPR :: NSPR, enhancement)
NSPR
NSPR
Tracking
(Not tracked)
NEW
People
(Reporter: ueno, Unassigned)
Details
Attachments
(1 file)
1.99 KB,
patch
|
Details | Diff | Splinter Review |
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)
Comment 1•7 years ago
|
||
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
Updated•7 years ago
|
Assignee: nobody → dueno
Updated•7 years ago
|
Attachment #9014400 -
Flags: review?(kaie)
Comment 2•3 years ago
|
||
The bug assignee didn't login in Bugzilla in the last 7 months, so the assignee is being reset.
Assignee: dueno → nobody
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•