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, Apr 6, 10:50 PM
Unknown Object (File)
Jan 25 2024, 1:18 PM
Unknown Object (File)
Jan 25 2024, 1:18 PM
Unknown Object (File)
Jan 25 2024, 1:18 PM
Unknown Object (File)
Jan 25 2024, 1:13 PM
Unknown Object (File)
Jan 25 2024, 9:54 AM
Unknown Object (File)
Jan 14 2024, 3:37 PM
Unknown Object (File)
Dec 25 2023, 4:55 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.