What is the equivalent of dwAllocationGranularity
in Linux? In Windows, it's defined as:
The granularity for the starting address at which virtual memory can be allocated.
Note that this is not the same thing as PAGE_SIZE
, which is the granularity of a physical page.
(On Windows, the virtual address granularity is 64 KiB on x86, whereas the page size is of course 4 KiB.)