Makes a page in client storage.
#include <sys/types.h> #include <sys/errno.h> #include <sys/vmuser.h>
int vm_makep (vmid, pno) vmid_t vmid; int pno;
vmid | Specifies the ID of the virtual memory object. |
pno | Specifies the page number in the virtual memory object. |
The vm_makep kernel service makes the page specified by the pno parameter addressable in the virtual memory object without requiring a page-in operation. The vm_makep kernel service is restricted to client storage.
The page is not initialized to any particular value. It is assumed that the page is completely overwritten. If the page is already in memory, a value of 0, indicating a successful operation, is returned.
The vm_makep kernel service can be called from the process environment only.
0 | Indicates a successful operation. |
EINVAL | Indicates a virtual memory object type or page number that is not valid. |
EFBIG | Indicates that the page number exceeds the file-size limit. |
The vm_makep kernel service is part of Base Operating System (BOS) Runtime.
Memory Kernel Services and Understanding Virtual Memory Manager Interfaces in AIX Kernel Extensions and Device Support Programming Concepts.