lkml.org 
[lkml]   [2001]   [Jun]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: kmalloc
	Hey thanks,

The memory i need is not for DMA usage so i don't care
if it is contiguous or not.


later,
Petko


Arnaldo Carvalho de Melo wrote:
>
> Em Fri, Jun 15, 2001 at 10:02:08AM -0700, Petko Manolov escreveu:
> > Hi there,
> >
> > AFAIK there was similar discusion almos a year
> > ago but i can't remember the details.
> >
> > kmalloc fails to allocate more than 128KB of
> > memory regardless of the flags (GFP_KERNEL/USER/ATOMIC)
> >
> > Any ideas?
> >
> > I am not quite sure if this is the expected behavior.
>
> yes, expected behaviour, at most you can allocate 32 contiguous pages with
> kmalloc, if you need more and it is not for DMA, use vmalloc, that will not
> try to use contiguous pages
>
> - 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.038 / U:0.360 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site