Re: using kmalloc

From: yodaiken@fsmlabs.com
Date: Tue Mar 19 2002 - 12:30:22 EST


On Tue, Mar 19, 2002 at 01:41:36PM -0300, Arnaldo Carvalho de Melo wrote:
> 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.

Apparently, kmalloc semantics changed at some point
so it does not ever return error.

-- 
---------------------------------------------------------
Victor Yodaiken 
Finite State Machine Labs: The RTLinux Company.
 www.fsmlabs.com  www.rtlinux.com

- 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/



This archive was generated by hypermail 2b29 : Sat Mar 23 2002 - 22:00:18 EST