Title | MVFF uses segments unnecessarily |
Status | closed |
Priority | nice |
Assigned user | Gareth Rees |
Organization | Ravenbrook |
Description | MVFF uses SegAlloc to get memory from the arena, and SegFree to return memory to the arena. But it does not use the segments for very much (if anything), so this may be an unnecessary layer, and it could just call ArenaAlloc and ArenaFree instead. |
Analysis | MVFF uses the segments to remember the memory it allocated from the arena (via PoolSegRing) and free it back to the arena. But it could remember it in some other way (a CBS, for example) and so avoid the segments. See job003838 for the corresponding problem for MVT. See also job003765 (pools use GCSeg when they could use ordinary segs). |
How found | inspection |
Evidence | None. |
Observed in | 1.111.0 |
Created by | Gareth Rees |
Created on | 2013-06-06 16:42:08 |
Last modified by | Gareth Rees |
Last modified on | 2014-06-13 18:46:15 |
History | 2013-06-06 GDR Created. |
Change | Effect | Date | User | Description |
---|---|---|---|---|
186536 | closed | 2014-06-12 16:20:20 | Gareth Rees | Merge branch/2014-04-15/mvffnoseg into the master sources. |