Large page usage to back shared memory segments
To back shared memory segments of an application with large pages, you must specify the SHM_LGPAGE and SHM_PIN flags in the shmget() function. If large pages are unavailable, the 4 KB pages back the shared memory segment.
The physical memory that backs large page shared memory and large page data and heap segments comes from the large page physical memory pool. You must ensure that the large page physical memory pool contains enough large pages for both shared memory and data and heap large page usage.