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

Should the "FMMAP_NOFILE" option be kept? #11

Open
PierUgit opened this issue Jun 8, 2024 · 0 comments
Open

Should the "FMMAP_NOFILE" option be kept? #11

PierUgit opened this issue Jun 8, 2024 · 0 comments
Labels
question Further information is requested

Comments

@PierUgit
Copy link
Owner

PierUgit commented Jun 8, 2024

The FMMAP_NOFILE option creates an anonymous mapping: it's just a virtual memory allocation without a specific backing file (the system swap is used if needed).

It's not different from what the intrinsic ALLOCATE() does, so the question is "should it be kept?", as it's redundant.

I basically introduced it for flexibility: the same code could perform a named or anonymous mapping depending on the needs, by just switching this option.

@PierUgit PierUgit added the question Further information is requested label Jun 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant