]> git.saurik.com Git - redis.git/commit
zmalloc_get_private_dirty() function added (Linux only).
authorantirez <antirez@gmail.com>
Mon, 19 Nov 2012 10:24:56 +0000 (11:24 +0100)
committerantirez <antirez@gmail.com>
Mon, 19 Nov 2012 10:47:35 +0000 (11:47 +0100)
commit3bfeb9c1a7044cd96c1bd77677dfe8b575c73c5f
tree6686c29391c368296fa817ccb88f065f8a37b2f2
parentaf0b220756571bc8faf57a0c7b7389dd86a60376
zmalloc_get_private_dirty() function added (Linux only).

For non Linux systmes it just returns 0.

This function is useful to estimate copy-on-write because of childs
saving stuff on disk.
src/zmalloc.c
src/zmalloc.h