summaryrefslogtreecommitdiffstats
path: root/src/util/mmap_cache.h
Commit message (Collapse)AuthorAgeFilesLines
* memcache: make MC_PTR_TO_SLOT() more readablePavel Březina2013-01-071-2/+1
|
* memcache: add macro that validates record lengthPavel Březina2013-01-071-0/+6
|
* Carefully check records when forcibly invalidatingSimo Sorce2012-12-201-2/+4
| | | | | | | | | | | | We should never try to invalidate an already invalid record as internal pointers will not be consistent. Carefully test that the record really is valid when we are fishing for free space, and properly invalidate records or return a fatal error if something goes wrong. In order to make the code more robust always invalidate the whole data space on initialization by setting all bits to 1, and make sure to invalidate the whole last allocated slot by converting rec->len to the number of slots instead of just the space used.
* nsssrv: add handling of memory cache group mapSimo Sorce2012-03-191-0/+10
|
* util: Helper headers for shared memory cacheSimo Sorce2012-03-191-0/+117