All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@infradead.org>
To: Herbert Xu <herbert@gondor.apana.org.au>
Cc: Christoph Hellwig <hch@infradead.org>,
	ganesh.venkatesan@intel.com, jgarzik@pobox.com,
	netdev@oss.sgi.com, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 3/12 2.4] e1000 - use vmalloc for data structures not shared with h/w
Date: Wed, 4 Aug 2004 17:48:56 +0100	[thread overview]
Message-ID: <20040804174856.B24545@infradead.org> (raw)
In-Reply-To: <E1BqoRX-0004DH-00@gondolin.me.apana.org.au>; from herbert@gondor.apana.org.au on Sat, Jul 31, 2004 at 05:38:11PM +1000

On Sat, Jul 31, 2004 at 05:38:11PM +1000, Herbert Xu wrote:
> > No, it's not.  vmalloc needs virtual space that's rather limited (e.g. 64MB
> > on PAE x86) in addition to physical memory.  Unless you do really big
> > allocations stay away from vmalloc.
> 
> How big is really big? 64K? 256K? 1M?

Well, the VM deals with big-order (aka bigger than page size) allocations
rather bad, so for allocation during any I/O I'd stick to allocation smaller
than that (and certainly no vmalloc!), for init-time allocations order 1 is
fine, maybe even order 2 or three.

      reply	other threads:[~2004-08-04 16:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20040729192519.A6235@infradead.org>
2004-07-31  7:38 ` [PATCH 3/12 2.4] e1000 - use vmalloc for data structures not shared with h/w Herbert Xu
2004-08-04 16:48   ` Christoph Hellwig [this message]

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=20040804174856.B24545@infradead.org \
    --to=hch@infradead.org \
    --cc=ganesh.venkatesan@intel.com \
    --cc=herbert@gondor.apana.org.au \
    --cc=jgarzik@pobox.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@oss.sgi.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.