MPS issue job003993

TitleRestrictions on maximum pool alignment are not checked or documented
Statusclosed
Priorityoptional
Assigned userRichard Brooksby
OrganizationRavenbrook
DescriptionThe MV, MVFF, and MVT pool classes offer the MPS_KEY_ALIGN keyword for setting "the alignment of addresses for allocation (and freeing)". MVT and MVFF document a minimum, but no maximum alignment. In fact, the MPS will not honour requests for alignment greater than the arena grain size, because there is no interface to allocate from the arena with an alignment.
AnalysisDocument the restriction and its relationship to MPS_KEY_ARENA_GRAIN_SIZE.
Check requested alignments.
How foundinspection
EvidenceMVFFExtend amongst others make no attempt to align.
Created byRichard Brooksby
Created on2016-03-21 13:31:53
Last modified byRichard Brooksby
Last modified on2016-03-27 20:52:39
History2016-03-21 RB Created.

Fixes

Change Effect Date User Description
190472 closed 2016-03-27 20:51:52 Richard Brooksby Documenting and checking constraints on MPS_KEY_ALIGN on manual pools.

Imported from Git
 Author: Richard Brooksby <rb@ravenbrook.com> 1459108118 +0100
 Committer: Richard Brooksby <rb@ravenbrook.com> 1459108118 +0100
 sha1: 879340d099ffe4529831f36ea0fefbc9f497afb2
 push-state: complete
 parent-changes: b03dd14f695687c0c4d619356c057a57374162f4=[190434]