Skip to content

Ignore MAP_SHARED#377

Draft
CvvT wants to merge 1 commit intomainfrom
weiteng/shared_mapping
Draft

Ignore MAP_SHARED#377
CvvT wants to merge 1 commit intomainfrom
weiteng/shared_mapping

Conversation

@CvvT
Copy link
Contributor

@CvvT CvvT commented Sep 23, 2025

I was trying to run sqlite's benchmark but ran into an unsupported feature: shared file mapping.

From strace's log on the test, once the file is mapped, there is no more open/read/write to that file. Thus, we can safely ignore this flag in this case. With this change, I can run the test and get some performance numbers but I'm not 100% sure if they are correct.

Supporting shared file mapping requires significant change; not sure how to do it yet and whether we are going to support it.

@CvvT CvvT marked this pull request as ready for review September 23, 2025 20:14
@github-actions
Copy link

🤖 SemverChecks 🤖 No breaking API changes detected

Note: this does not mean API is unchanged, or even that there are no breaking changes; simply, none of the detections triggered.

Copy link
Member

@wdcui wdcui left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks!

@CvvT CvvT marked this pull request as draft October 7, 2025 20:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants