-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
LRUCacheShard cache line size alignment #2620
Conversation
Signed-off-by: Daniel Black <[email protected]>
Signed-off-by: Daniel Black <[email protected]>
mingw32 failure - https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52991 |
@IslamAbdelRahman has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
Thanks @grooverdan, How can we suppress the MinGW failure .. we don't want our travis failure to consistently fail |
I tried just adding -mno-ms-bitfields on the mingw32 however this wasn't sufficient https://travis-ci.org/grooverdan/rocksdb/jobs/255882007 So as per next commit just disabling alignment for mingw32 |
@grooverdan updated the pull request - view changes - changes since last import |
@IslamAbdelRahman has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Thanks for the initial work and merging. |
Seems this still doesn't properly align LRUCacheShard, as shown by running tests with UBSAN: https://gist.github.com/yiwu-arbug/401217b8868be158a545f85220785e17 I guess it is because we allocate |
combining #2568 and #2612.