pmap_remove_all (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_remove pmap_remove_all pmap_remove_pages - remove pages from a physical mapSYNOPSIS
In sys/param.h In vm/vm.h In vm/pmap.h Ft void Fn pmap_remove pmap_t pmap vm_offset_t sva vm_offset_t eva Ft void Fn pmap_remove_all vm_page_t m Ft void Fn pmap_remove_pages pmap_t pmapDESCRIPTION
The Fn pmap_remove function removes the range of addresses between Fa sva and Fa eva from the physical map Fa pmap . If Fa eva is less than Fa sva , then the result is undefined. It is assumed that both Fa sva and Fa eva are page-aligned addresses.The Fn pmap_remove_all removes the physical page Fa m from all physical maps in which it resides, and reflects back the modify bits to the appropriate pager.
The Fn pmap_remove_pages function removes all user pages from the physical map Fa pmap . This function is called when a process exits to run down its address space more quickly than would be the case for calling Fn pmap_remove .