[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [rtl] 'kmalloc: size too large'



Raul wrote:
> 
> Hi everyone
> I get the following error when I try to allocate quite
> a lot of memory using kmalloc:
> 'kmalloc: Size (400000) too large'
> I was wondering how could I know the maximum available
> memory in kernel space and if it is possible to
> reserve more memory at boot time.
> Thanks for your help
> Raul
>
Hi Raul,

I believe that 128k (32 pages) is the limit.  The alternative is to use
vmalloc.

Regards, Stuart