[Bug 677] New: insmod is failing on machines with small memory

bugzilla at busybox.net bugzilla at busybox.net
Wed Oct 21 20:26:51 UTC 2009


https://bugs.busybox.net/show_bug.cgi?id=677

           Summary: insmod is failing on machines with small memory
           Product: Busybox
           Version: 1.14.x
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: Other
        AssignedTo: unassigned at busybox.net
        ReportedBy: imikec at hotmail.com
                CC: busybox-cvs at busybox.net
   Estimated Hours: 0.0


Hi!

insmod is failing on machine with 16Mb memory, while it works fine if the
memory is 32Mb. This happens when insmod tries to malloc memory for module and
module is big, in my case around 3Mb. Is there any reason why mmap method is
removed from insmod? Why can't we add a flag CONFIG_FEATURE_INSMOD_SMALLMEM and
use mmap if this one is set, and still use malloc if not?


-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the busybox-cvs mailing list