public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Arnaldo Carvalho de Melo <acme@conectiva.com.br>
To: Petko Manolov <pmanolov@Lnxw.COM>
Cc: linux-kernel@vger.kernel.org
Subject: Re: kmalloc
Date: Fri, 15 Jun 2001 14:05:25 -0300	[thread overview]
Message-ID: <20010615140525.A960@conectiva.com.br> (raw)
In-Reply-To: <3B2A3F90.799ACAC4@lnxw.com>
In-Reply-To: <3B2A3F90.799ACAC4@lnxw.com>; from pmanolov@Lnxw.COM on Fri, Jun 15, 2001 at 10:02:08AM -0700

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

  parent reply	other threads:[~2001-06-15 17:14 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 ` Arnaldo Carvalho de Melo [this message]
2001-06-15 17:21   ` kmalloc Petko Manolov
  -- strict thread matches above, loose matches on Subject: below --
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=20010615140525.A960@conectiva.com.br \
    --to=acme@conectiva.com.br \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pmanolov@Lnxw.COM \
    /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