logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

pmap_is_modified, pmap_ts_modified — return information about physical pages

Authors

       This manual page was written by Bruce M Simpson <bms@spc.org>.

Debian                                            July 17, 2014                              PMAP_IS_MODIFIED(9)

Description

       The pmap_is_modified() and pmap_ts_referenced() functions return information about physical pages.

Name

       pmap_is_modified, pmap_ts_modified — return information about physical pages

Return Values

       The pmap_is_modified() function returns the status of the “page modified” bit for the physical page m.

       The  pmap_ts_referenced()  function  returns a count of reference bits for a page 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.

See Also

pmap(9), pmap_clear_modify(9)

Synopsis

#include<sys/param.h>#include<vm/vm.h>#include<vm/pmap.h>boolean_tpmap_is_modified(vm_page_tm);

       intpmap_ts_referenced(vm_page_tm);

See Also