logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

vm_set_page_size — initialize the system page size

Authors

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

Debian                                           March 21, 2014                              VM_SET_PAGE_SIZE(9)

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.

Name

       vm_set_page_size — initialize the system page size

Synopsis

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

See Also