[klibc] klibc and udev

Greg KH greg at kroah.com
Mon Aug 14 12:44:17 PDT 2006

On Mon, Aug 14, 2006 at 10:11:53AM -0700, H. Peter Anvin wrote:
> Greg KH wrote:
> >On Mon, Aug 14, 2006 at 09:58:36AM -0500, Aaron Griffin wrote:
> >>In case people here don't follow the udev mailing list, udev seems to
> >>be quasi-dropping klibc support.  Well, see the forwarded message
> >>below.
> >>
> >>As I don't agree with the "omg udev is complex! use glibc!" rationale,
> >>I want klibc and udev to remain working with each other....
> >
> >The big issue with udev not using klibc is that you don't want a long
> >running daemon to use klibc because of the memory management usage of
> >klibc.
> >
> >Look at the free() implementation for what I mean :)
> >
> Actually, that really shouldn't affect a long-running daemon that much. 
>  What it *does* affect is the case where you have a daemon which uses 
> up lots of memory at one time, and then drops it down.

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 :)


greg k-h

More information about the klibc mailing list