huge init footprint

Bernardo Innocenti bernie at codewiz.org
Tue Jan 29 00:20:53 EST 2008


Hello,

I just noticed that our init uses up an unusual amount
of memory (5MB!), almost as if it was a Python process.

And in fact, it seems to be really a python process
spawned by our initrd.  And since the initrd cannot
possibly use the system libraries from the jffs2 partition,
almost all these mappings are unshared.

Now, to conserve resources, it would be nice if we could
exec() the real init just before passing control to the
rc scripts.

-- 
 \___/
 |___|   Bernardo Innocenti - http://www.codewiz.org/
  \___\  One Laptop Per Child - http://www.laptop.org/



More information about the Devel mailing list