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, May 9, 2:24 AM
Unknown Object (File)
Wed, Apr 29, 7:32 PM
Unknown Object (File)
Wed, Apr 29, 1:02 PM
Unknown Object (File)
Tue, Apr 28, 5:39 AM
Unknown Object (File)
Tue, Apr 28, 3:47 AM
Unknown Object (File)
Mon, Apr 27, 9:24 PM
Unknown Object (File)
Sun, Apr 19, 6:08 PM
Unknown Object (File)
Apr 12 2026, 4:54 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

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.