public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Ralf Baechle <ralf@uni-koblenz.de>
To: "MEHTA,HIREN (A-SanJose,ex1)" <hiren_mehta@agilent.com>
Cc: "'linux-kernel@vger.kernel.org'" <linux-kernel@vger.kernel.org>
Subject: Re: pci_alloc_consistent question
Date: Fri, 19 Oct 2001 23:59:51 +0200	[thread overview]
Message-ID: <20011019235951.A29083@dea.linux-mips.net> (raw)
In-Reply-To: <01A7DAF31F93D511AEE300D0B706ED9208E4A5@axcs13.cos.agilent.com>
In-Reply-To: <01A7DAF31F93D511AEE300D0B706ED9208E4A5@axcs13.cos.agilent.com>; from hiren_mehta@agilent.com on Fri, Oct 19, 2001 at 03:24:14PM -0600

On Fri, Oct 19, 2001 at 03:24:14PM -0600, MEHTA,HIREN (A-SanJose,ex1) wrote:

> so, what is the conservative number ? 1MB ?

Even far below that.  Most systems will allocate that memory using
get_free_pages and by allocating large pages such as 1mb you'll produce
high memory pressure.  Try to get away with PAGE_SIZE * 2 if you can.
Large allocation are only ok if they're rare.

  Ralf

  parent reply	other threads:[~2001-10-19 22:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-19 21:24 pci_alloc_consistent question MEHTA,HIREN (A-SanJose,ex1)
2001-10-19 21:37 ` Jeff Garzik
2001-10-19 21:59 ` Ralf Baechle [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-10-19 18:32 MEHTA,HIREN (A-SanJose,ex1)
2001-10-19 18:51 ` Francois Romieu
2001-10-19 20:57 ` Ralf Baechle

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=20011019235951.A29083@dea.linux-mips.net \
    --to=ralf@uni-koblenz.de \
    --cc=hiren_mehta@agilent.com \
    --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