[PATCH][RFC] reducing memory fragmentation

David Zeuthen david at fubar.dk
Thu Dec 14 19:17:19 PST 2006


Sergey Lapin wrote:
> Hi,
> this patch removes calls for g_file_read_link and others, and adds 
> static buffers optimization where appropriate. At allowed removal fore 
> excessive heap usage growth because of heap fragmentation.

I've committed this with this change

http://gitweb.freedesktop.org/?p=hal.git;a=commit;h=e543d270ef4113a7d6a1cb51b56391b2794658d9

to

  - fix freeing static memory
  - use const char * for arguments
  - some style fixes
  - fix compiler warnings

Thanks.

     David





More information about the hal mailing list