Page MenuHomeFreeBSD

(vm object 6) Convert pmap_is_modified, pmap_remove_write, and pmap_clear_modify to expecting busy to be held by the caller now that all callers hold it.
Needs ReviewPublic

Authored by jeff on Tue, Sep 10, 8:24 PM.

Details

Summary

Now that busy protects against new write mappings we can update the PGA_WRITEABLE usage. I found the old conditional somewhat awkward and relying the presence of busy rather than the absence makes this much more natural.

This is the final diff major diff in this patchset. The remainder simply make use of the new concurrency afforded by them.

Diff Detail

Lint
Lint OK
Unit
No Unit Test Coverage
Build Status
Buildable 26393
Build 24850: arc lint + arc unit

Event Timeline

jeff created this revision.Tue, Sep 10, 8:24 PM
jeff retitled this revision from Convert pmap_is_modified, pmap_remove_write, and pmap_clear_modify to expecting busy to be held by the caller now that all callers hold it. to (vm object 6) Convert pmap_is_modified, pmap_remove_write, and pmap_clear_modify to expecting busy to be held by the caller now that all callers hold it..Tue, Sep 10, 8:26 PM
jeff edited the summary of this revision. (Show Details)
jeff edited reviewers, added: alc, kib, markj, dougm; removed: manu.