HomeFreeBSD

As an optimization to the machine-independent layer, change the machine-

Description

As an optimization to the machine-independent layer, change the machine-
dependent pmap_ts_referenced() so that it updates the page's dirty field
if a modified bit is found while counting reference bits. This
opportunistic update can be performed at low cost and can eliminate the
need for some future calls to pmap_is_modified() by the machine-
independent layer.

Reviewed by: kib, markj
MFC after: 3 weeks
Sponsored by: EMC / Isilon Storage Division
Differential Revision: https://reviews.freebsd.org/D7722

Details

Provenance
alcAuthored on
Reviewer
kib
Differential Revision
D7722: Opportunistically update the page's dirty field in pmap_ts_referenced().
Parents
rS305212: - Invert calloc(3) argument order.
Branches
Unknown
Tags
Unknown