Hi, Can anyone fill me in on the reason why open_transformer always forks, instead of straight decompressing?
I found the original commit from 2003: http://lists.busybox.net/pipermail/busybox-cvs/2003-November/019040.html But it doesn't explain why the move was done. I ask because doing a "depmod -a" with gzipped modules results in over 800 forks, which is surely not optimal neither from memory nor from performance points of view. In the case of gzip, the uncompressed size is available, so there would be no RAM waste in allocating the maximum specified 64mb first. For compression formats that do not include the uncompressed size, the fork+pipe approach does save RAM, but for gzip it seems to be needless overhead. - Lauri -- http://www.fastmail.com - Send your email first class _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
