Page MenuHomeFreeBSD

vm_page: Reorder some fields
Needs ReviewPublic

Authored by markj on Mon, Jun 2, 1:51 AM.
Tags
None
Referenced Files
F119685250: D50639.diff
Wed, Jun 11, 6:49 AM
F119648054: D50639.id156394.diff
Tue, Jun 10, 9:17 PM
Unknown Object (File)
Sat, Jun 7, 1:40 PM
Unknown Object (File)
Fri, Jun 6, 5:34 AM
Unknown Object (File)
Thu, Jun 5, 3:40 PM
Unknown Object (File)
Thu, Jun 5, 3:40 PM
Unknown Object (File)
Thu, Jun 5, 3:40 PM
Unknown Object (File)
Thu, Jun 5, 3:40 PM
Subscribers
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

With listq removed, UMA can start using the first 32 bytes of struct
vm_page to store a slab header. Reorder some fields to make this
possible. In particular, move pindex to offset 0 so that the pctrie
implementation doesn't need to add an offset to vm_page pointers.

It's ok for a noobj page consumer to use the ref_count and busy_lock
fields for their own purposes, so move those too.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 64582
Build 61466: arc lint + arc unit