-
Notifications
You must be signed in to change notification settings - Fork 15
Sync upstream #5
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
Conversation
That should hopefully shut coverity up
It also contains the cacheflush function declaration.
…lly putting them in a separate section
32 was chosen for page size of 4KB. Not large nough for 16KB pages.
fakepage pointers are only guaranteed to be 2-byte aligned. Use a 2-byte aligned struct definition when referencing 2-byte page members if a page pointer possibly points to a fakepage.
The patch was incorrect and introduced numerous race conditions. The original problem was a FreeBSD bug, subsequently fixed: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269277
Sync upstream
|
Ok, this passed the DocC test suite: Ready for review now I think. |
|
@franklinsch would be awesome if you could kick off the cross-repo testing, TIA. |
|
@swift-ci please test |
|
Guess it needs the cross-repo testing as previous time in #2 as well? |
|
Another datapoint is that we've been running with the above internally for the last couple of weeks without any issues. |
|
Hi @hassila, sorry I missed your previous message. Yes, can we please run cross-repo testing? |
|
I'm not allowed to kick that off so would need help... |
|
Triggered here: swiftlang/swift#70398 |
|
@daniel-grumberg Any feedback on this PR? |
daniel-grumberg
left a comment
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.
These changes seem fine to me but I don't have enough understanding of lmdb's code base to truly make a comment here.
|
Thanks @hassila! |
Sync with upstream, will run DocC test suite as next step.
This PR fixes two cases highly relevant to Apple Silicon (one hindering usage of ASAN and one performance improvement by better utilisation of the 16K pages):
6a1954d
and
b534747