tail head cat sleep
QR code linking to this page

Manual Pages  — VM_SET_PAGE_SIZE

NAME

vm_set_page_size – initialize the system page size

CONTENTS

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 vm_cnt.v_page_size (see <sys/vmmeter.h>) equals 0, PAGE_SIZE is used; otherwise, the value stored in vm_cnt.v_page_size is used. If vm_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 dependent functions.

AUTHORS

This manual page was written by Chad David <Mt davidc@acns.ab.ca>.

VM_SET_PAGE_SIZE (9) March 21, 2014

tail head cat sleep
QR code linking to this page


Please direct any comments about this manual page service to Ben Bullock. Privacy policy.

Like a classics radio station whose play list spans decades, Unix simultaneously exhibits its mixed and dated heritage. There's Clash-era graphics interfaces; Beatles-era two-letter command names; and systems programs (for example, ps) whose terse and obscure output was designed for slow teletypes; Bing Crosby-era command editing (# and @ are still the default line editing commands), and Scott Joplin-era core dumps.
— The Unix Haters' handbook