summaryrefslogtreecommitdiff
path: root/src/vm.c
Commit message (Collapse)AuthorAgeFilesLines
* Manual merge after cherry-pickantirez2011-07-121-4/+4
|
* VM/direct-saving fixesantirez2011-04-201-4/+4
|
* yet more manual backporting from unstableantirez2011-04-201-1/+1
|
* API change function name fixantirez2011-04-201-1/+1
|
* Backport patch: object swappability for encoded sorted setsPieter Noordhuis2011-03-221-8/+18
|
* Stop using /dev/null to find out the serialized object lengthPieter Noordhuis2010-11-211-4/+2
| | | | | | Now the rdbSave* functions return the number of bytes written (or required to write) in serializing a Redis object, writing to /dev/null and using ftell (which doesn't work on FreeBSD) isn't needed anymore.
* Stop using the freelist robj* cachePieter Noordhuis2010-11-041-1/+0
|
* Object approximated LRU algorithm enhanced / fixed / refactored. This is ↵antirez2010-10-141-1/+1
| | | | used for the VM currently but will soon be used for maxmemory expiring.
* added some comment and changed coding style for fix for 237antirez2010-09-031-3/+5
|
* fix for issue 237Anko painting2010-09-021-0/+3
|
* fix for the prev fixantirez2010-08-271-1/+1
|
* Fix for bug 312, yet to verify in a couple of minutes...antirez2010-08-271-2/+13
|
* computeObjectSwappability is now able to compute swappability for intset ↵antirez2010-08-261-9/+14
| | | | encoded sets
* Add zcalloc and use it where appropriateBenjamin Kramer2010-07-251-2/+1
| | | | | | | | | | | | | calloc is more effecient than malloc+memset when the system uses mmap to allocate memory. mmap always returns zeroed memory so the memset can be avoided. The threshold to use mmap is 16k in osx libc and 128k in bsd libc and glibc. The kernel can lazily allocate the pages, this reduces memory usage when we have a page table or hash table that is mostly empty. This change is most visible when you start a new redis instance with vm enabled. You'll see no increased memory usage no matter how big your page table is.
* fix rare condition where 'key' would already be destroyed while is was ↵Pieter Noordhuis2010-07-221-0/+6
| | | | needed later on
* redis.c split into many different C files.antirez2010-07-011-0/+1126
networking related stuff moved into networking.c moved more code more work on layout of source code SDS instantaneuos memory saving. By Pieter and Salvatore at VMware ;) cleanly compiling again after the first split, now splitting it in more C files moving more things around... work in progress split replication code splitting more Sets split Hash split replication split even more splitting more splitting minor change