title: Page alignment in Linux
body: <p>In Windows I can allocate 64K of virtual memory and the returned memory will be aligned to the 64K boundary.</p>
  <p>This is useful as I can round down any address in my memory allocator to the 64K boundary and cast it to a &quot;page header&quot; where I keep booking information.</p>
  <p>I would like to do the same in Linux, but it seems I can only do this for the page size (usually 4K).</p>
  <p>Is there any way to ask the Linux OS to give me, let's say 16K or 8K but aligned to the same boundary?</p>