Page MenuHomeFreeBSD

vm: Fix kstack alignment assertion
ClosedPublic

Authored by des on Dec 10 2025, 11:13 PM.
Tags
None
Referenced Files
F166345445: D54171.id167859.diff
Thu, Aug 13, 1:05 AM
F166342184: D54171.id.diff
Thu, Aug 13, 12:39 AM
Unknown Object (File)
Tue, Aug 11, 5:26 PM
Unknown Object (File)
Mon, Aug 10, 11:30 AM
Unknown Object (File)
Mon, Aug 10, 11:07 AM
Unknown Object (File)
Mon, Aug 10, 9:57 AM
Unknown Object (File)
Sun, Aug 9, 4:04 AM
Unknown Object (File)
Sat, Aug 8, 5:09 AM
Subscribers

Details

Summary

The expectation that the allocation will be aligned to the kstack size
only applies when allocating from a kstack arena, not when allocating a
non-standard size from the kernel arena.

MFC after: 1 week
Sponsored by: Klara, Inc.
Sponsored by: NetApp, Inc.
Fixes: 7a79d0669761 ("vm: improve kstack_object pindex calculation to avoid pindex holes")

Diff Detail

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