linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Petko Manolov <pmanolov@Lnxw.COM>
To: Arnaldo Carvalho de Melo <acme@conectiva.com.br>
Cc: linux-kernel@vger.kernel.org
Subject: Re: kmalloc
Date: Fri, 15 Jun 2001 10:21:56 -0700	[thread overview]
Message-ID: <3B2A4434.8E2E16FC@lnxw.com> (raw)
In-Reply-To: <3B2A3F90.799ACAC4@lnxw.com> <20010615140525.A960@conectiva.com.br>

	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

  reply	other threads:[~2001-06-15 17:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-15 17:02 kmalloc Petko Manolov
2001-06-15 17:04 ` kmalloc David S. Miller
2001-06-15 17:05 ` kmalloc Arnaldo Carvalho de Melo
2001-06-15 17:21   ` Petko Manolov [this message]
2002-03-10 17:22 kmalloc tushar  korde

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3B2A4434.8E2E16FC@lnxw.com \
    --to=pmanolov@lnxw.com \
    --cc=acme@conectiva.com.br \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).