Question Details

No question body available.

Tags

c mmap

Answers (1)

July 25, 2026 Score: 0 Rep: 55,330 Quality: Low Completeness: 60%

An mmap region must be at least one page in length. You can check the source to see.

https://github.com/torvalds/linux/blob/master/mm/mmap.c#L336

Remember that what this interface does is create a new virtual mapping for an existing set of pages, so it's always done in units of whole pages.