vm_thrpgio_push Kernel Service

Purpose

Saves some context information of the current thread.

Syntax

#include <sys/types.h>
#include <sys/errno.h>
#include <sys/vmuser.h>

void vm_thrpgio_push ( in_ctxp)
ut_pgio_context_t * in_ctxp;

Parameters

Item Description
in_ctxp The context structure used by the function.

Description

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.

Execution Environment

The vm_thrpgio_push kernel service can only be used by client file systems using a thread-level strategy routine.

Return Values

The vm_thrpgio_push kernel service has no return values.