Bug 9324 - Reduce memory fragmentation by replacing several functions by posix ones
Summary: Reduce memory fragmentation by replacing several functions by posix ones
Status: RESOLVED FIXED
Alias: None
Product: hal
Classification: Unclassified
Component: hald (show other bugs)
Version: unspecified
Hardware: All Linux (All)
: high normal
Assignee: David Zeuthen (not reading bugmail)
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-13 03:18 UTC by Sergey Lapin
Modified: 2006-12-14 19:21 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
replaces g_file_read_link function to reduce memory fragmentation (3.75 KB, patch)
2006-12-13 03:21 UTC, Sergey Lapin
Details | Splinter Review

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.