vm_set_page_size(9)

NAME

vm_set_page_size - initialize the system page size

SYNOPSIS

#include <sys/param.h>
#include <vm/vm.h>
#include <vm/vm_page.h>
void
vm_set_page_size(void);

DESCRIPTION

The vm_set_page_size() function initializes the system page
size. If
cnt.v_page_size (see 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.
vm_set_page_size() must be called prior to any page size de
pendent functions.

AUTHORS

This manual page was written by Chad David <davidc@ac
ns.ab.ca>.
BSD July 17, 2001
Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout