vmtouch icon indicating copy to clipboard operation
vmtouch copied to clipboard

Use MAP_POPULATE on Linux if -ql

Open dimkr opened this issue 1 year ago • 0 comments

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.

dimkr avatar Sep 23 '24 05:09 dimkr