Page MenuHomeFreeBSD

vm: Fix kstack alignment assertion
ClosedPublic

Authored by des on Dec 10 2025, 11:13 PM.
Tags
None
Referenced Files
F151210578: D54171.id167848.diff
Mon, Apr 6, 8:58 PM
Unknown Object (File)
Wed, Mar 18, 4:29 AM
Unknown Object (File)
Tue, Mar 17, 8:39 PM
Unknown Object (File)
Sun, Mar 15, 7:34 AM
Unknown Object (File)
Jan 29 2026, 12:19 AM
Unknown Object (File)
Jan 16 2026, 1:35 PM
Unknown Object (File)
Jan 9 2026, 1:45 AM
Unknown Object (File)
Jan 8 2026, 10:07 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 Not Applicable
Unit
Tests Not Applicable