pmap_ts_modified(9freebsd)

pmap_ts_modified9freebsd

Return information about physical pages

Usage

#include <sys/param.h>

#include <vm/vm.h>

#include <vm/pmap.h>

boolean_t

pmap_is_modified(vm_page_t m);

int

pmap_ts_referenced(vm_page_t m);

Overview

The pmap_is_modified() and pmap_ts_referenced() functions 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.

Releases

4 releases since Debian 5.0 (Lenny); the text changed 3 times.

  1. 5.0
  2. 6.0
  3. 7
  4. 8

Authors

This manual page was written by Bruce M Simpson ⟨[email protected]⟩.

From freebsd-manpages 10.1~RC1-1 in Debian 8 (Jessie). Parsed by carta from the page's mdoc source.