Copyright (C) 2001 Chad David <firstname.lastname@example.org>. 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...
NAMEvm_set_page_size - initialize the system page size
SYNOPSISIn sys/param.h In vm/vm.h In vm/vm_page.h Ft void Fn vm_set_page_size void
DESCRIPTIONThe 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.