Page MenuHomeFreeBSD

vm: Fix kstack alignment assertion
ClosedPublic

Authored by des on Dec 10 2025, 11:13 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Jul 19, 2:50 AM
Unknown Object (File)
Sun, Jul 19, 12:22 AM
Unknown Object (File)
Fri, Jul 17, 11:36 PM
Unknown Object (File)
Wed, Jul 15, 6:58 AM
Unknown Object (File)
Wed, Jul 15, 6:58 AM
Unknown Object (File)
Sat, Jul 4, 10:49 PM
Unknown Object (File)
Jun 18 2026, 1:35 PM
Unknown Object (File)
Jun 17 2026, 2:14 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