Bug 9324

Summary: Reduce memory fragmentation by replacing several functions by posix ones
Product: hal Reporter: Sergey Lapin <slapinid>
Component: haldAssignee: David Zeuthen (not reading bugmail) <zeuthen>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: high    
Version: unspecified   
Hardware: All   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: replaces g_file_read_link function to reduce memory fragmentation

Description Sergey Lapin 2006-12-13 03:18:45 UTC
Some glib function, includeing g_file_read_link, reallocate memory,
etc. providing memory fragmentation.
This patch replaces these calls which reduces problems (especially for low
memory embedded devices).
Comment 1 Sergey Lapin 2006-12-13 03:21:25 UTC
Created attachment 8085 [details] [review]
replaces g_file_read_link function to reduce memory fragmentation

Attached a patch which replaces g_file_read_link and others to reduce memory
fragmentation. Also, it uses static buffers where possible, for the same
purpose.
Comment 2 David Zeuthen (not reading bugmail) 2006-12-14 19:21:17 UTC
Committed already. Thanks.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.