Re: using kmalloc

Arnaldo Carvalho de Melo (acme@conectiva.com.br)
Tue, 19 Mar 2002 13:41:36 -0300


Em Tue, Mar 19, 2002 at 08:18:31AM -0800, chiranjeevi vaka escreveu:

> I am getting some problems with kmalloc. If I tried to allocate more than
> certain memory then the system is hanging while booting with the changed
> kernel. Can you suggest me how to come out this situation. Can't I allocate
> as much I want when I want to allocate in the kernel.

try vmalloc, kmalloc is limited, AFAIK, to 128 KiB and even that is difficult
to get after some time.

- Arnaldo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/