[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: commit: ldap/servers/slapd entry.c proto-slap.h slap.h zn_malloc.c



jongchoi@OpenLDAP.org wrote:

Update of /repo/OpenLDAP/pkg/ldap/servers/slapd

Modified Files:
	entry.c  1.129 -> 1.130
	proto-slap.h  1.554 -> 1.555
	slap.h  1.615 -> 1.616
	zn_malloc.c  1.4 -> 1.5

Log Message:
adaptive caching code

Looks cool. Can you please remind me what this is doing? You detect when physical memory is exhausted by noticing increased swap space usage? I suppose one might get a similar effect by just setting the memoryuse limit before running slapd, except that we would have to change the behavior of ch_malloc and its callers.

--
 -- Howard Chu
 Chief Architect, Symas Corp.       Director, Highland Sun
 http://www.symas.com               http://highlandsun.com/hyc
 Symas: Premier OpenSource Development and Support