[klibc] klibc and udev

H. Peter Anvin hpa at zytor.com
Mon Aug 14 15:13:20 PDT 2006

Kay Sievers wrote:
> On Mon, 2006-08-14 at 12:47 -0700, H. Peter Anvin wrote:
>> Greg KH wrote:
>>> udevd allocates chunks of memory and then frees them up as time goes on.
>>> It also lives for the entire time the machine is running, so it's pretty
>>> important that the memory is released back to the system at some time :)
>> True, although I wouldn't be entirely surprised if a klibc-linked udevd 
>> had a smaller memory footprint than one linked with glibc, even though 
>> the former currently doesn't return memory to the system.
> On big boxes udevd may allocate several Megabytes of event buffer, if a
> lot of devices are created in a short timeframe.

Memory reclamation is now in klibc 1.4.21.  It took a whopping 300 bytes 
on x86-64.


More information about the klibc mailing list