Re: RE2: kmalloc

Anton Altaparmakov (aia21@cam.ac.uk)
Fri, 15 Jun 2001 19:26:16 +0100


At 18:58 15/06/2001, Arnaldo Carvalho de Melo wrote:
>Em Fri, Jun 15, 2001 at 10:41:59AM -0700, Michael Nguyen escreveu:
> > >>Petko Manolov writes:
> > >> kmalloc fails to allocate more than 128KB of
> > >> memory regardless of the flags (GFP_KERNEL/USER/ATOMIC)
> > >>
> > >> Any ideas?
> >
> > >Yes, this is the limit.
> >
> > Im relatively new to Linux. I would like to ask.
> > Is this limit per kmalloc()? Can I do this multiple times?
>
>the limit is for a single invocation of kmalloc, yes, you can do it multiple
>times.

But if you need that much memory it would be better that you use vmalloc AFAIK.

Cheers,

Anton

-- 
   "Nothing succeeds like success." - Alexandre Dumas
-- 
Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @)
Linux NTFS Maintainer / WWW: http://sf.net/projects/linux-ntfs/
ICQ: 8561279 / WWW: http://www-stu.christs.cam.ac.uk/~aia21/

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