Commit graph

13 commits

Author SHA1 Message Date
Reynaldo H. Verdejo Pinochet
eb57390198 docs: Gram and nit fixes for part-memory.txt 2013-10-24 12:06:01 -07:00
Wim Taymans
3f0d40b417 docs: more docs fixes
Fix allocator design doc
Add beginning of allocation chapter in the pwg
2012-10-01 13:28:54 +02:00
Wim Taymans
964ea9eccb docs: update docs 2012-07-05 12:56:51 +02:00
Wim Taymans
6bb7d49e29 memory: update docs 2012-07-05 11:19:16 +02:00
Wim Taymans
93f279cd5a memory: expose the internal locking api
Expose the internally used methods for locking and unlocking the object. Pass
the access mode to the unlock function for extra checks and because we need it
for the EXCLUSIVE locks.
Make some new defines to specify the desired locking.
Add a new EXCLUSIVE lock mode which will increment the shared counter. Objects
with a shared counter > 1 will not be lockable in WRITE mode.
2012-07-05 11:19:15 +02:00
Wim Taymans
c1a38be6e2 docs: update docs 2012-03-09 14:30:01 +01:00
Wim Taymans
80f4716a61 memory: check semantics of nested mappings
Count how many mappings are currently active and also with what access pattern.
Update the design doc with restrictions on the access patterns for nested
mappings.
Check if nested mappings obey the access mode restrictions of the design doc.
Add various unit tests to check the desired behaviour.
2012-01-06 13:10:18 +01:00
Wim Taymans
6e0024e76e memory: take offset into account
Take the offset into account whem mapping and unmapping the buffer.
2012-01-05 17:28:28 +01:00
Wim Taymans
cff9b3715f docs: clarify resize and current mappings 2012-01-05 17:02:48 +01:00
Wim Taymans
b750dc5090 memory: clarify nested mappings, add unit test 2012-01-05 16:48:49 +01:00
Wim Taymans
e97ecdebea improve docs a little 2012-01-05 12:39:17 +01:00
Wim Taymans
b84fff07ea memory: Require implementation to implement _share
Require the memory implementations to implement a share operation. This allows
us to remove the fallback share implementation which uses a different allocator
implementation and complicates things too much.
Update design doc a bit.
2011-06-08 12:04:49 +02:00
Wim Taymans
9886c712cd docs: add beginnings of memory design doc 2011-06-07 18:18:27 +02:00