vm_set_page_size.9freebsd

Langue: en

Version: 308001 (debian - 07/07/09)

Section: 9 (Appels noyau Linux)


BSD mandoc

NAME

vm_set_page_size - initialize the system page size

SYNOPSIS

In sys/param.h In vm/vm.h In vm/vm_page.h Ft void Fn vm_set_page_size void

DESCRIPTION

The Fn vm_set_page_size function initializes the system page size. If cnt.v_page_size (see In sys/vmmeter.h ) equals 0, PAGE_SIZE is used; otherwise, the value stored in cnt.v_page_size is used. If cnt.v_page_size is not a power of two, the system will panic.

Fn vm_set_page_size must be called prior to any page size dependent functions.

AUTHORS

This manual page was written by An Chad David Aq davidc@acns.ab.ca .