* RE2: kmalloc
@ 2001-06-15 17:41 Michael Nguyen
2001-06-15 17:58 ` Arnaldo Carvalho de Melo
2001-06-15 18:26 ` Anton Altaparmakov
0 siblings, 2 replies; 4+ messages in thread
From: Michael Nguyen @ 2001-06-15 17:41 UTC (permalink / raw)
To: David S. Miller, Petko Manolov; +Cc: linux-kernel
Hi David,
>>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?
TX,
Michael Nguyen
mnguyen@ariodata.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: RE2: kmalloc
2001-06-15 17:41 RE2: kmalloc Michael Nguyen
@ 2001-06-15 17:58 ` Arnaldo Carvalho de Melo
2001-06-15 18:26 ` Anton Altaparmakov
1 sibling, 0 replies; 4+ messages in thread
From: Arnaldo Carvalho de Melo @ 2001-06-15 17:58 UTC (permalink / raw)
To: Michael Nguyen; +Cc: David S. Miller, Petko Manolov, linux-kernel
Em Fri, Jun 15, 2001 at 10:41:59AM -0700, Michael Nguyen escreveu:
> Hi David,
>
> >>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.
- Arnaldo
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: RE2: kmalloc
2001-06-15 17:41 RE2: kmalloc Michael Nguyen
2001-06-15 17:58 ` Arnaldo Carvalho de Melo
@ 2001-06-15 18:26 ` Anton Altaparmakov
2001-06-15 18:46 ` Arnaldo Carvalho de Melo
1 sibling, 1 reply; 4+ messages in thread
From: Anton Altaparmakov @ 2001-06-15 18:26 UTC (permalink / raw)
To: Arnaldo Carvalho de Melo
Cc: Michael Nguyen, David S. Miller, Petko Manolov, linux-kernel
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/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: RE2: kmalloc
2001-06-15 18:26 ` Anton Altaparmakov
@ 2001-06-15 18:46 ` Arnaldo Carvalho de Melo
0 siblings, 0 replies; 4+ messages in thread
From: Arnaldo Carvalho de Melo @ 2001-06-15 18:46 UTC (permalink / raw)
To: Anton Altaparmakov
Cc: Michael Nguyen, David S. Miller, Petko Manolov, linux-kernel
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2001-06-15 18:49 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-15 17:41 RE2: kmalloc Michael Nguyen
2001-06-15 17:58 ` Arnaldo Carvalho de Melo
2001-06-15 18:26 ` Anton Altaparmakov
2001-06-15 18:46 ` Arnaldo Carvalho de Melo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).