Richard Brooksby
07b043dda3
Adding reference to skip lists paper.
...
Copied from Perforce
Change: 182763
ServerID: perforce.ravenbrook.com
2013-06-15 22:32:35 +01:00
Richard Brooksby
56645cdc0c
Merging branch/2013-05-17/emergency with major rework of mvt, mvff, and cbs.
...
Some parts of this are still ragged, and would not normally pass review, but this is a massive improvement to the existing code.
Copied from Perforce
Change: 182614
ServerID: perforce.ravenbrook.com
2013-06-08 10:57:57 +01:00
Gareth Rees
60a4cb56a1
Improve design docs following review from rb.
...
Copied from Perforce
Change: 182606
ServerID: perforce.ravenbrook.com
2013-06-07 14:50:22 +01:00
Gareth Rees
27601f7af0
Remove mentions of diagnostic feedback from the design documents and the code; add mentions of corresponding events.
...
Copied from Perforce
Change: 182570
ServerID: perforce.ravenbrook.com
2013-06-06 13:47:33 +01:00
Gareth Rees
1c4ff669ac
Remove diag facility.
...
Copied from Perforce
Change: 182553
ServerID: perforce.ravenbrook.com
2013-06-05 18:35:40 +01:00
Richard Brooksby
3b37d681c2
Linking tags to mmprevol requests (e.g. request.epcode.12345) to their location on info.ravenbrook.com.
...
Copied from Perforce
Change: 182526
ServerID: perforce.ravenbrook.com
2013-06-05 00:57:04 +01:00
Gareth Rees
0b204bf4e7
Catch-up merge from master sources to mps/branch/2013-05-17/emergency.
...
Copied from Perforce
Change: 182518
ServerID: perforce.ravenbrook.com
2013-06-04 20:44:03 +01:00
Gareth Rees
d6912235bd
Mvt now fails over from a cbs to a freelist.
...
Update test cases and design accordingly.
Copied from Perforce
Change: 182509
ServerID: perforce.ravenbrook.com
2013-06-04 18:16:32 +01:00
Richard Brooksby
1582bebe0b
Fixing a couple of sphinx warnings found by design document conversion.
...
Copied from Perforce
Change: 182507
ServerID: perforce.ravenbrook.com
2013-06-04 18:09:37 +01:00
Richard Brooksby
a68238f41a
Incorporating index items into design document metadata so that an extra stub for each design document is not required in the manual sources.
...
Copied from Perforce
Change: 182505
ServerID: perforce.ravenbrook.com
2013-06-04 18:00:54 +01:00
Gareth Rees
635ec34f87
Explain in mvff design that it uses fail-over from cbs to freelist.
...
Copied from Perforce
Change: 182503
ServerID: perforce.ravenbrook.com
2013-06-04 17:11:30 +01:00
Nick Barnes
a224c8f3dc
Fix rst syntax errors and add todos to strategy.rst
...
Copied from Perforce
Change: 182497
ServerID: perforce.ravenbrook.com
2013-06-04 15:56:52 +01:00
Nick Barnes
3c21389b1d
Fix typo that broke this rst file.
...
Copied from Perforce
Change: 182494
ServerID: perforce.ravenbrook.com
2013-06-04 15:33:04 +01:00
Nick Barnes
240bfcf4c4
Check in incomplete strategy design doc.
...
Copied from Perforce
Change: 182491
ServerID: perforce.ravenbrook.com
2013-06-04 15:28:02 +01:00
Richard Brooksby
0dfc30dc33
Fixing prototype to show "args" not "va_list", since that's changed.
...
Linking to request.mps.170186.
Fixing link to design.keyword-arguments.
Typo.
Copied from Perforce
Change: 182480
ServerID: perforce.ravenbrook.com
2013-06-04 13:36:49 +01:00
Gareth Rees
f0def15a48
Freelistfindlargest() takes a size argument so that the interface matches cbsfindlargest().
...
New function FreelistFlushToCBS() tries to move all blocks out of a free list and into a CBS.
Copied from Perforce
Change: 182432
ServerID: perforce.ravenbrook.com
2013-06-03 16:17:28 +01:00
Gareth Rees
ca36e1a147
Cbsdelete() now returns the isolated contiguous range that was found, even if the requested deletion operation cannot be performed. (this is so that the caller can try deleting the whole block instead and manage the fragments using a fallback strategy.)
...
CBSFindLargest() takes a size argument, so that the caller doesn't have to re-insert the found block if it wasn't large enough.
Copied from Perforce
Change: 182431
ServerID: perforce.ravenbrook.com
2013-06-03 16:16:04 +01:00
Richard Brooksby
ead194349a
Miscellaneous design document improvements.
...
Documenting why WriteF on points comes out with the wrong endianness on Intel platforms.
Copied from Perforce
Change: 182421
ServerID: perforce.ravenbrook.com
2013-06-03 12:57:55 +01:00
Gareth Rees
f154b62bf4
Catch-up merge from master sources to mps/branch/2013-05-17/emergency
...
Copied from Perforce
Change: 182417
ServerID: perforce.ravenbrook.com
2013-06-03 12:25:18 +01:00
Gareth Rees
0260380dd3
Rename cbstest.c to fbmtest.c (free block management test) and generalize it so that it tests both the cbs and freelist modules.
...
Split FreelistFind into FreelistFindFirst and FreelistFindLast so that the interface exactly matches the CBS interface.
Fix errors in freelist.c: missing computation of size in FreelistBlockSetLimit; update linked list correct in coalesceRight case in FreelistInsert.
Avoid compiler warnings in freelist.c.
In cbs.c: use $U for Booleans ($B is for bit tables).
Copied from Perforce
Change: 182397
ServerID: perforce.ravenbrook.com
2013-06-02 21:34:23 +01:00
Richard Brooksby
a61c62c3c9
Reverting citations to ravenbrook style.
...
Copied from Perforce
Change: 182378
ServerID: perforce.ravenbrook.com
2013-06-01 10:43:08 +01:00
Richard Brooksby
d0aacd13d2
Fixing up some code snippet formatting.
...
Copied from Perforce
Change: 182372
ServerID: perforce.ravenbrook.com
2013-05-31 19:19:08 +01:00
Gareth Rees
db9328da7a
Use range objects in the cbs interface instead of base, limit pairs. the idea is that freelist and cbs should offer similar interfaces so that the testing code can be shared.
...
Copied from Perforce
Change: 182364
ServerID: perforce.ravenbrook.com
2013-05-31 16:29:26 +01:00
Gareth Rees
83aff660e2
Use a tag in the bottom bit to distinguish grains and blocks in the free list. this results in much simplification of the code.
...
Copied from Perforce
Change: 182362
ServerID: perforce.ravenbrook.com
2013-05-31 13:41:36 +01:00
Gareth Rees
d37ac3e441
Correct type for freelistiteratemethod and make other documentation improvements.
...
Copied from Perforce
Change: 182352
ServerID: perforce.ravenbrook.com
2013-05-31 01:20:12 +01:00
Gareth Rees
032657464b
New "freelist" module implementes a simple address-ordered linked list allocator (based on the "emergency list" allocator that was formerly part of the cbs module).
...
Copied from Perforce
Change: 182348
ServerID: perforce.ravenbrook.com
2013-05-31 00:12:49 +01:00
Gareth Rees
934ae05ca3
Rename the enumeration cbsfinddelete to finddelete in anticipation of it being shared between cbs and new freelist module.
...
Since ABQDisposition enumeration only has two values, it's better to use Bool.
Copied from Perforce
Change: 182347
ServerID: perforce.ravenbrook.com
2013-05-31 00:09:33 +01:00
Gareth Rees
6cf9953846
Use restructuretext citations for references in design documents.
...
Copied from Perforce
Change: 182334
ServerID: perforce.ravenbrook.com
2013-05-30 17:31:42 +01:00
Gareth Rees
87019f4ee2
Fix review comments from < https://info.ravenbrook.com/mail/2013/05/28/22-21-11/0/ >:
...
* Rename RangeOverlap to RangesOverlap.
* MVFF shouldn't assume that CBSInsert and CBSDelete can't fail.
* Remove unused function mps_mvff_stat.
* Don't call range methods in RangeCheck.
* RangeInit can't fail, so return void.
Copied from Perforce
Change: 182297
ServerID: perforce.ravenbrook.com
2013-05-29 12:19:19 +01:00
Richard Brooksby
2be56a898f
adding a cross-reference to request.epcore.170193.sugg.loci.
...
Fixing the format of bullet lists to prevent reST errors.
Copied from Perforce
Change: 182293
ServerID: perforce.ravenbrook.com
2013-05-29 09:56:32 +01:00
Richard Brooksby
30dd466f13
Correcting syntax on emacs mode line.
...
Copied from Perforce
Change: 182292
ServerID: perforce.ravenbrook.com
2013-05-29 09:34:21 +01:00
Gareth Rees
4e26e67f3a
Convert alloc-frame, diag, interface-c, and io design documents to restructuredtext. and that's the lot! (cbs and poolmvt are already converted on mps/branch/2013-05-17/emergency).
...
Copied from Perforce
Change: 182275
ServerID: perforce.ravenbrook.com
2013-05-28 11:38:46 +01:00
Gareth Rees
03a844556e
Fix formatting errors.
...
Copied from Perforce
Change: 182273
ServerID: perforce.ravenbrook.com
2013-05-27 22:54:06 +01:00
Gareth Rees
48d711eaa6
Convert message-gc, poolmv, protsu, sso1al, tests, thread-manager, vmo1 and vmso to restructuredtext.
...
Copied from Perforce
Change: 182270
ServerID: perforce.ravenbrook.com
2013-05-27 22:47:50 +01:00
Gareth Rees
05d944af2b
Missing link.
...
Copied from Perforce
Change: 182230
ServerID: perforce.ravenbrook.com
2013-05-25 16:31:33 +01:00
Richard Brooksby
d07742cf1f
Fixing inline literals from markup to rest.
...
Copied from Perforce
Change: 182214
ServerID: perforce.ravenbrook.com
2013-05-25 13:24:16 +01:00
Richard Brooksby
c07e5d8f23
Declaring document format so that infosys processes it as restructuredtext.
...
Copied from Perforce
Change: 182189
ServerID: perforce.ravenbrook.com
2013-05-25 04:04:08 +01:00
Richard Brooksby
1592a2ee68
Reformatting "cstyle" as restructuredtext and giving it its original name back.
...
Copied from Perforce
Change: 182186
ServerID: perforce.ravenbrook.com
2013-05-25 03:24:40 +01:00
Gareth Rees
0a2fdbb3b0
Make formatting suitable for inclusion in the manual.
...
Copied from Perforce
Change: 182184
ServerID: perforce.ravenbrook.com
2013-05-25 01:44:59 +01:00
Gareth Rees
ad26918459
Convert poolams, poolawl, poollo, poolmfs, protan, protli, pthreadext, shield, and vman to restructuredtext.
...
Copied from Perforce
Change: 182183
ServerID: perforce.ravenbrook.com
2013-05-25 00:08:09 +01:00
Gareth Rees
ba1a45d970
Catch-up merge from master sources to mps/branch/2013-05-17/emergency.
...
Copied from Perforce
Change: 182170
ServerID: perforce.ravenbrook.com
2013-05-24 18:44:18 +01:00
Gareth Rees
b2c17aaeb1
Improve formatting of the keywords table.
...
Copied from Perforce
Change: 182163
ServerID: perforce.ravenbrook.com
2013-05-24 15:31:17 +01:00
Gareth Rees
2ddd8357c7
Convert arenavm, buffer, lib, and poolmrg to restructuredtext.
...
Convert [notes in square brackets] to .. note:: to make them stand out more and be easier to find and fix.
Modernize config a bit.
Copied from Perforce
Change: 182162
ServerID: perforce.ravenbrook.com
2013-05-24 15:30:38 +01:00
Gareth Rees
4c5bca4bd0
Fix review comments from rb in < https://info.ravenbrook.com/mail/2013/05/23/18-17-17/0/ >
...
Copied from Perforce
Change: 182149
ServerID: perforce.ravenbrook.com
2013-05-24 00:48:19 +01:00
Gareth Rees
09b845a726
Catch-up merge from the master sources to branch/2013-05-17/emergency.
...
Copied from Perforce
Change: 182135
ServerID: perforce.ravenbrook.com
2013-05-23 20:58:21 +01:00
Gareth Rees
ef4d65299d
Fix the table.
...
Copied from Perforce
Change: 182122
ServerID: perforce.ravenbrook.com
2013-05-23 19:18:25 +01:00
Richard Brooksby
fc4d239543
Removed references to "contingency methods" that were talking about the deleted "emergency" free list allocator.
...
Documenting ``fastFind`` argument to ``CBSInit``.
Copied from Perforce
Change: 182118
ServerID: perforce.ravenbrook.com
2013-05-23 18:28:47 +01:00
Gareth Rees
becb742c03
Convert message, pool, poolamc, prot, and vm design documents to restructuredtext.
...
Copied from Perforce
Change: 182116
ServerID: perforce.ravenbrook.com
2013-05-23 17:44:52 +01:00
Gareth Rees
9bd5347700
Catch-up merge from master to branch/2013-05-17/emergency
...
Copied from Perforce
Change: 182110
ServerID: perforce.ravenbrook.com
2013-05-23 12:46:04 +01:00
Gareth Rees
b0589b2190
Process design documents for inclusion in the manual.
...
Copied from Perforce
Change: 182108
ServerID: perforce.ravenbrook.com
2013-05-23 12:43:28 +01:00