GitHub PushEvent at 2014-04-02 10:21:10
Repository: osv-memcached
Actor: vladzcloudius
Payload: {"shas":[["e05b57f7a37e46bccebc6b2be28ec914b7072402","976c0f8d0852ed6439ad273880b400a75a7c41d0@cloudius-systems.com","shrinker: take the requested bytes number into the consideration\n\nSigned-off-by: Vlad Zolotarov <vladz@cloudius-systems.com>","Vlad Zolotarov",true],["af46e3d380de7ec6c66c16f58abd8e17cc323ab7","976c0f8d0852ed6439ad273880b400a75a7c41d0@cloudius-systems.com","shrinker: shrinker_mutex may not be owned by a reclaimer thread when shrink_cache() is called\n\nIt may only be owned by osv-memcached app thread.\n\nSigned-off-by: Vlad Zolotarov <vladz@cloudius-systems.com>","Vlad Zolotarov",true],["fa5deedf663f179bc86e1c09b5253d37c5fc70e8","976c0f8d0852ed6439ad273880b400a75a7c41d0@cloudius-systems.com","Makefile: removed not needed macro\n\nSigned-off-by: Vlad Zolotarov <vladz@cloudius-systems.com>","Vlad Zolotarov",true],["33e0fe79ec7b3ff2892790a7c6c043fb2a124ee2","976c0f8d0852ed6439ad273880b400a75a7c41d0@cloudius-systems.com","locked_shrinker: Introduction\n\nThis class is meant to protect the memory consumption and memory shrinking\ncritical sections.\n\nIt implements the memory::shrinker interface to get triggers for memory\nfreeing.\n\nIt implements lock()/unlock() methods to have a semanticist of standard mutex\nand to work with WITH_LOCK() macros.\n\nIt prevents the dead-lock situation in the shrinking flow (when shrinking is\ncaused by the allocation of a new memory for the cache) by using a try_lock()\nin the shrinking flow. If there is a lock contention during the shrinking\nthen it sets the shrinking to the next time the lock() method is called.\n\nSigned-off-by: Vlad Zolotarov <vladz@cloudius-systems.com>","Vlad Zolotarov",true],["870687ee1de578dc0b5f01c85e267d1eb698580b","976c0f8d0852ed6439ad273880b400a75a7c41d0@cloudius-systems.com","shrinker interface: use locked_shrinker\n\nSigned-off-by: Vlad Zolotarov <vladz@cloudius-systems.com>","Vlad Zolotarov",true],["8a48930e4a9ed278349427e023756a6d6c9f42c5","976c0f8d0852ed6439ad273880b400a75a7c41d0@cloudius-systems.com","Move big functions from memcached-udp.hh to memcached-udp.cc.\n\nSigned-off-by: Vlad Zolotarov <vladz@cloudius-systems.com>","Vlad Zolotarov",true],["0fad9500e39315a59f0b767016f08b4eef773f1e","976c0f8d0852ed6439ad273880b400a75a7c41d0@cloudius-systems.com","cleanup: use size_t where appropriate\n\nSigned-off-by: Vlad Zolotarov <vladz@cloudius-systems.com>","Vlad Zolotarov",true],["ad6aeb7fef02ac51b7b14569997df78ba4d5c72e","976c0f8d0852ed6439ad273880b400a75a7c41d0@cloudius-systems.com","prevent the shrink_cache_locked() from trying to free more memory than there is in the cache.\n\nSigned-off-by: Vlad Zolotarov <vladz@cloudius-systems.com>","Vlad Zolotarov",true]],"size":8,"ref":"refs/heads/master","head":"ad6aeb7fef02ac51b7b14569997df78ba4d5c72e"}