Skip to content

Conversation

@dimkr
Copy link

@dimkr dimkr commented Sep 23, 2024

If locking silently, mincore() and the iteration over pages can be skipped because there's no chart to print, and MAP_POPULATE can read the file while mlockall(MCL_FUTURE) takes care of locking.

This makes vmtouch -ql faster and more likely to actually lock.

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.

1 participant