Skip to content

Add bytes parameter to initialize_object_metadata#1487

Merged
qinsoon merged 3 commits intommtk:masterfrom
wenyuzhao:feat/init-obj-metadata-bytes
Apr 22, 2026
Merged

Add bytes parameter to initialize_object_metadata#1487
qinsoon merged 3 commits intommtk:masterfrom
wenyuzhao:feat/init-obj-metadata-bytes

Conversation

@wenyuzhao
Copy link
Copy Markdown
Member

Pass the object allocation size to initialize_object_metadata so that spaces can initialize metadata for the object's entire address range. For example, LXR uses it to initialize per-page side metadata for LOS objects.

Pass allocation size through initialize_object_metadata so that
spaces can use it for per-object bookkeeping (e.g. RC in LXR).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@wenyuzhao wenyuzhao requested review from qinsoon and wks April 22, 2026 05:05
@wenyuzhao wenyuzhao marked this pull request as ready for review April 22, 2026 05:06
Copy link
Copy Markdown
Member

@qinsoon qinsoon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Copy Markdown
Collaborator

@wks wks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@qinsoon qinsoon enabled auto-merge April 22, 2026 05:34
@qinsoon qinsoon added this pull request to the merge queue Apr 22, 2026
Merged via the queue into mmtk:master with commit 5781e63 Apr 22, 2026
32 of 34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants