]> git.sur5r.net Git - openldap/commit
Cache-thrashing protection: if the DB has more entries than the cache,
authorHoward Chu <hyc@openldap.org>
Mon, 12 Nov 2007 11:16:30 +0000 (11:16 +0000)
committerHoward Chu <hyc@openldap.org>
Mon, 12 Nov 2007 11:16:30 +0000 (11:16 +0000)
commitb4bcc325ee1fdf056845982afa25b2c078fc1fe7
treeefb86adcb6dc59ed29791f53dbed82339078e3b7
parenteea5e60bf0b2ec0cc5cfd4065cc188c786ed25b6
Cache-thrashing protection: if the DB has more entries than the cache,
don't allow large search operations that touch more entries churn the
existing cached entries.
servers/slapd/back-bdb/back-bdb.h
servers/slapd/back-bdb/cache.c
servers/slapd/back-bdb/dn2entry.c
servers/slapd/back-bdb/proto-bdb.h
servers/slapd/back-bdb/search.c