title: How to allocate a region of memories which similar VirtualAlloc?
body: <p>I was looking for a method of allocating memories on Linux which similar VirtualAlloc on Windows. Requirements are:</p>
  
  <ol>
  <li>Size of memories block to allocate is 2^16.</li>
  <li>Address of memories block is larger than 0x0000ffff</li>
  <li>Address of memories block must have last 16 bits are zero.</li>
  </ol>
  
  <p>On Windows because lower limit of application address (lpMinimumApplicationAddress) we have (2) obvious right. From (1), (2) and system rules we also achieved (3).</p>
  
  <p>Thanks for helping.</p>