Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rethink alignment specification #71

Open
ymmt2005 opened this issue Feb 2, 2017 · 0 comments
Open

Rethink alignment specification #71

ymmt2005 opened this issue Feb 2, 2017 · 0 comments
Assignees

Comments

@ymmt2005
Copy link
Member

ymmt2005 commented Feb 2, 2017

Although alignas was introduced to C++11, it is limited to max_align_t length
which may be less than the CPU cache line size. The current yrmcds implementation
wrongly specify such an alignment length over the maximum. See #70 for details.

C++1z will introduce std::hardware_destructive_interference_size to avoid false
cache line sharing.

c.f. http://faithandbrave.hateblo.jp/entry/2016/07/08/174657

@ymmt2005 ymmt2005 self-assigned this Feb 2, 2017
@ymmt2005 ymmt2005 mentioned this issue Feb 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant