[lkml]   [2000]   [Oct]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Subjectkmalloc() allocation.

    How much memory would it be reasonable for kmalloc() to be able
    to allocate to a module?

    Oct 30 10:48:31 chaos kernel: kmalloc: Size (524288) too large

    Using Version 2.2.17, I can't allocate more than 64k! I need
    to allocate at least 1/2 megabyte and preferably more (like 2 megabytes).

    There are 256 megabytes of SDRAM available. I don't think it's
    reasonable that a 1/2 megabyte allocation would fail, especially
    since it's the first module being installed.

    The attempt to allocate is memory of type GFP_KERNEL.

    Any advice?

    Dick Johnson

    Penguin : Linux version 2.2.17 on an i686 machine (801.18 BogoMips).

    "Memory is like gasoline. You use it up when you are running. Of
    course you get it all back when you reboot..."; Actual explanation
    obtained from the Micro$oft help desk.

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 12:45    [W:0.019 / U:3.344 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site