UMA page_alloc() does not take an alignment, so UMA can only handle alignment less then page size.
Noted by: alc
Differential D28219
Restrict supported alignment for malloc_domainset_aligned(9) to PAGE_SIZE. kib on Jan 18 2021, 9:05 AM. Authored by Tags None Referenced Files
Details UMA page_alloc() does not take an alignment, so UMA can only handle alignment less then page size. Noted by: alc
Diff Detail
Event TimelineComment Actions Sorry for not catching this.
Comment Actions Also use the right zone for allocation, by bumping size to the multiple of align. Reported by: melifaro
|