mmap over file end - warning true after all?

Milian Wolff mail at milianw.de
Thu Sep 2 12:50:52 UTC 2010


On Thursday, 2. September 2010 14:33:15 David Nolden wrote:
> No, this is no problem. We allocate 40kb chunks for each bucket, but
> we don't use all of the chunk, and we only "initialize" the parts that
> we use (for example in the moment you create a new IndexedString).
> However when writing to disk, we write down the whole bucket,
> including the uninitialized part. However since the uninitialized part
> is unused, it's no problem. At some point, it will be overwritten with
> useful content.
> 
> I think I already explained this once.

OK. And what do you say to the valgrind report? Any idea what else might be 
the problem?

Bye
-- 
Milian Wolff
mail at milianw.de
http://milianw.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20100902/bfda1be6/attachment.sig>


More information about the KDevelop-devel mailing list