Checking Linux virtual memory page size
Linux kernel virtual memory model is paged. This means the virtual memory space is divided into small units called “pages”, to quote wikipedia: “blocks of contiguous virtual memory addresses”.
To query configuration of the Linux virtual memory, use “getconf” utility:
Code:
$ getconf -a | grep PAGE
PAGESIZE 4096
PAGE_SIZE 4096
The amount is expressed in bytes.