Saves some context information of the current thread.
#include <sys/types.h>
#include <sys/errno.h>
#include <sys/vmuser.h>
void vm_thrpgio_push ( in_ctxp)
ut_pgio_context_t * in_ctxp;
Item | Description |
---|---|
in_ctxp | The context structure used by the function. |
The vm_thrpgio_push kernel service enables a client file system with a thread-level strategy routine to save information about the current thread to a linked list. The linked list is a Last-In-First-Out (LIFO) (stack) data structure, and is pointed to by the thread.
This service must be called if a client file system using a thread-level strategy routine has had its strategy routine invoked and wishes to re-enter the Virtual Memory Manager. This could involve a page fault on one of its client segments, or the use of one of the Virtual Memory Manager (VMM) services that operates on client segments.
The vm_thrpgio_pop kernel service must be invoked when all such Virtual Memory Manager callbacks are complete.
The vm_thrpgio_push kernel service can only be used by client file systems using a thread-level strategy routine.
The vm_thrpgio_push kernel service has no return values.