[SERVER-29712] Polyfill std::hardware_{con,de}structive_interference_size Created: 19/Jun/17 Updated: 30/Oct/23 Resolved: 21/Jun/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Internal Code |
| Affects Version/s: | None |
| Fix Version/s: | 3.5.9 |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Andrew Morrow (Inactive) | Assignee: | Andrew Morrow (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||
| Sprint: | Platforms 2017-07-10 | ||||||||||||||||
| Participants: | |||||||||||||||||
| Description |
|
See http://en.cppreference.com/w/cpp/thread/hardware_destructive_interference_size Providing a polyfill for this constant will give us a portable way to describe alignment requirements on types and objects w.r.t. cache line sizes. |
| Comments |
| Comment by Githook User [ 21/Jun/17 ] |
|
Author: {u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@mongodb.com'}Message: |
| Comment by Andrew Morrow (Inactive) [ 20/Jun/17 ] |
|
Re-opening to address concerns about over alignment. |
| Comment by Githook User [ 20/Jun/17 ] |
|
Author: {u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@mongodb.com'}Message: |