insmod is failing on systems with small amout of memory

Vladimir Dronnikov dronnikov at gmail.com
Sat Oct 24 06:43:26 UTC 2009


>>
>> The point of malloc() is to handle compressed modules. Do you use
>> compressed (.ko.gz, .ko.bz2) modules?
>
> should be trivial to detect the compressed header and just use mmap() if it's
> uncompressed
>

Of course. Still the question is whether mmap() consumes no memory :)

--
Vladimir


More information about the busybox mailing list