MPS issue job003512

TitleCan't configure MVT alignment
Statusclosed
Prioritynice
Assigned userGareth Rees
OrganizationRavenbrook
DescriptionThe MVT pool does not have configurable alignment.
AnalysisRB [1]: "In poolmv2.c, I note that we create the CBS with MPS_PF_ALIGN. Perhaps a note here and a job ("nice") that we should consider generalising, unless there's a good reason for the restriction, in which case it should be explained here. In particular, this seems at odds with design.mps.poolmvt.req.fun.align "The pool class must support aligned allocations to client-specified alignments." The discrepancy needs some kind of explanation."

There doesn't seem to be any good reason for the restriction: CBS and Freelist have configurable alignment, and MVFF work well if you switch alignment.
How foundinspection
Evidence[1] <https://info.ravenbrook.com/mail/2013/06/07/12-44-40/0/>
Observed in1.111.0
Created byGareth Rees
Created on2013-06-07 14:25:20
Last modified byGareth Rees
Last modified on2013-06-07 14:45:14
History2013-06-07 GDR Created.

Fixes

Change Effect Date User Description
182605 closed 2013-06-07 14:45:14 Gareth Rees MVT takes configurable alignment via a keyword argument.