Page MenuHomeFreeBSD

Use the vm_page_wired() predicate where appropriate.
ClosedPublic

Authored by markj on May 31 2019, 8:45 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Dec 14, 4:00 AM
Unknown Object (File)
Nov 23 2024, 10:30 AM
Unknown Object (File)
Nov 23 2024, 7:21 AM
Unknown Object (File)
Nov 13 2024, 3:25 PM
Unknown Object (File)
Nov 8 2024, 3:12 AM
Unknown Object (File)
Oct 28 2024, 8:01 AM
Unknown Object (File)
Oct 24 2024, 5:03 AM
Unknown Object (File)
Sep 29 2024, 11:32 PM
Subscribers

Details

Summary

This is a follow-up for D19247. I would like to minimize naked accesses to wire_count
as much as possible, since D20486 makes use of several bits in that field to
store special references.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 24650
Build 23427: arc lint + arc unit

Event Timeline

Where is vm_page_wired() defined?

In D20485#442354, @alc wrote:

Where is vm_page_wired() defined?

In D19247, I renamed it from vm_page_held().

In D20485#442354, @alc wrote:

Where is vm_page_wired() defined?

In D19247, I renamed it from vm_page_held().

Okay.

This revision is now accepted and ready to land.Jun 1 2019, 4:19 PM

Could you please update the diff to include the definition if vm_page_wired() ? I expect it to be trivial.

Add a vm_page_wired() definition and rebase on FreeBSD head
instead of D19247.

This revision now requires review to proceed.Jun 1 2019, 9:43 PM
In D20485#442437, @kib wrote:

Could you please update the diff to include the definition if vm_page_wired() ? I expect it to be trivial.

I rebased the change so that it does not depend on the hold/wire count merge diff. Once this diff is committed, I will rebase that diff.

This revision is now accepted and ready to land.Jun 1 2019, 9:59 PM
This revision was automatically updated to reflect the committed changes.