Pages

Continuing on from Zones, the next segment abstraction of RAM in Linux is pages. Each zone has a fixed set of pages, and each page has a fixed set of bytes.

A process can request (allocate) any number of pages, but not any size other than a multiple of the page size. Upon request of the memory page it obtains its Page mapping# type, based on how it’s requested.

The page size is determined on startup of your machine and cannot be changed while memory is still in use. I.e. you need to reboot to change it. Most often than not this value should not need to be tampered with though.

Reading current page size

$ getconf PAGESIZE
4096

References