lkml.org 
[lkml]   [2001]   [Jun]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: RE2: kmalloc
    Em Fri, Jun 15, 2001 at 07:26:16PM +0100, Anton Altaparmakov escreveu:
    > 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.

    Yup, like I suggested to Petko in a previous message :)

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

    \
     
     \ /
      Last update: 2005-03-22 12:55    [W:0.022 / U:60.540 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site