*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->FreeBSD man pages -> vm_set_page_size (9)              



NAME    [Toc]    [Back]

     vm_set_page_size -- initialize the system page size

SYNOPSIS    [Toc]    [Back]

     #include <sys/param.h>
     #include <vm/vm.h>
     #include <vm/vm_page.h>


DESCRIPTION    [Toc]    [Back]

     The vm_set_page_size() function initializes the system page size.	If
     cnt.v_page_size (see <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.

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

AUTHORS    [Toc]    [Back]

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

FreeBSD 5.2.1			 July 17, 2001			 FreeBSD 5.2.1
[ Back ]
 Similar pages
Name OS Title
getpagesize Linux get system page size
getpagesize OpenBSD get system page size
getpagesize IRIX get system page size
getpagesize FreeBSD get system page size
getpagesize Tru64 Get the system page size
getpagesize NetBSD get system page size
pagesize FreeBSD print system page size
pagesize OpenBSD print system page size
pagesize Tru64 Displays system memory page size
vps_pagesize HP-UX minimum (in kilobytes) of system-selected page size
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service