pmap_is_modified (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_is_modified pmap_ts_modified - return information about physical pagesSYNOPSIS
In sys/param.h In vm/vm.h In vm/pmap.h Ft boolean_t Fn pmap_is_modified vm_page_t m Ft int Fn pmap_ts_referenced vm_page_t mDESCRIPTION
The Fn pmap_is_modified and Fn pmap_ts_referenced functions return information about physical pages.RETURN VALUES
The Fn pmap_is_modified function returns the status of the ``page modified'' bit for the physical page Fa m .The Fn pmap_ts_referenced function returns a count of reference bits for a page Fa m , clearing those bits. It is not necessary for every reference bit to be cleared, but it is necessary that 0 only be returned when there are no remaining reference bits set on the page.