pmap_zero_page (9)
Leading comments
Copyright (c) 2003 Bruce M Simpson <bms@spc.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, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documenta...
NAME
pmap_zero_page pmap_zero_area pmap_zero_idle - zero-fill a page using machine-dependent optimizationsSYNOPSIS
In sys/param.h In vm/vm.h In vm/pmap.h Ft void Fn pmap_zero_page vm_page_t m Ft void Fn pmap_zero_page_area vm_page_t m int off int size Ft void Fn pmap_zero_page_idle vm_page_t mDESCRIPTION
The Fn pmap_zero_page function zero-fills an entire page using machine-dependent optimizations. The Fn pmap_zero_page_area function is used to zero-fill an area of a page. The range specified must not cross a page boundary; it must be contained entirely within a single page.The Fn pmap_zero_page_idle interface is used by the vm_pagezero process. The system-wide Giant lock should not be required to be held in order to call this interface.