new ovdb release, plus a bunch of other patches

Katsuhiro Kondou kondou at nec.co.jp
Thu Jan 13 22:47:03 UTC 2000


In article <200001132226.QAA21135 at darkside.norand.com>,
	Heath Kehoe <hakehoe at norand.com> wrote;

} Buffindexed and ov3 use mmap to bring in the overview data in
} _opensearch(), and _search() returns pointers to that mmap'ed
} space.  So, effectively, the overview data is static during

Former buffindexed did it, but currenly it allocates
area after mmap() and copy the data and munmap() in
ovgroupmmap().  This is why I don't want further copy
of data after OVsearch().

} The question is, when can I free() those spaces?  If I wait
} until closesearch to free, that leaves the possibility that
} readers could malloc() huge amounts of memory if they are
} searching a large group.  I should instead keep a queue of

That can happen, but the duration is mostly very short.
-- 
Katsuhiro Kondou



More information about the inn-workers mailing list