vm_set_page_size (9)
Leading comments
Copyright (C) 2001 Chad David <davidc@acns.ab.ca>. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice(s), this list of conditions and the following disclaimer as the first lines of this file unmodified other than the possible addition of one or more copyright notices. 2. Redistributions in binary for...
NAME
vm_set_page_size - initialize the system page sizeSYNOPSIS
In sys/param.h In vm/vm.h In vm/vm_page.h Ft void Fn vm_set_page_size voidDESCRIPTION
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.