HomeFreeBSD

Implement malloc_domainset_aligned(9).

Description

Implement malloc_domainset_aligned(9).

Change the power-of-two malloc zones to require alignment equal to the
size [*]. Current uma allocator already provides such alignment, so in
fact this change does not change anything except providing future-proof
setup.

Suggested by: markj [*]
Reviewed by: andrew, jah, markj
Tested by: pho
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D28147

Details

Provenance
kibAuthored on Jan 14 2021, 3:59 AM
Reviewer
andrew
Differential Revision
D28147: Add malloc_domainset_aligned(9) and use it in x86 busdma bounce.
Parents
rGe83b514a9563: cat: depend on Makefile to rebuild when WITH_CASPER changes
Branches
Unknown
Tags
Unknown