lkml.org 
[lkml]   [2001]   [Jun]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: RE2: kmalloc
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/

\
 
 \ /
  Last update: 2005-03-22 12:55    [W:0.045 / U:0.264 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site