Page size and shared memory

You can select the page size to use for System V shared memory with the SHM_PAGESIZE command to the shcmctl () system call. By selecting a non-default page size, you explicitly disable the use of smaller page sizes than the page size that was selected in the same segment.

You can use the shmctl Subroutine to select the page size for a shared memory region.