[Fontconfig] relocations, readonly data

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2005-10-14 at 02:29 -0400, Matthias Clasen wrote:
> Since one of the main goals of the mmap cache effort is memory
> reduction, would it make sense to apply (the parts that still
> apply) the patch in 2638 to move some constant data like the 
> glyph<n> variables in fcglyphname.h from .data to .rodata ?

It looks like most of that patch is still useful, although it doesn't
entirely eliminate pointers.

> Another interesting bug in this area is 2878, which complains that
> all the FcCharSets in fcLangCharSets are stored in .data and cause
> relocations, although they are not modified at runtime. It seems to me
> that it should be possible to fix this by generating the charsets
> in the form in which fc-cache stores them in the mmap cache, but I have
> not been able to work out the details.

I don't think we want to store them in the mmap cache itself, just use
the mmap'able data structure to replace pointers with indices.

-keith

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/fontconfig/attachments/20051014/25032856/attachment.pgp

[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux