linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Jeff Garzik <jgarzik@mandrakesoft.com>
To: Jalajadevi Ganapathy <jganapat@Storage.com>
Cc: Linux-MM@kvack.org
Subject: Re: kmalloc with GFP_DMA, or get_free_pages!!!
Date: Wed, 21 Mar 2001 13:57:41 -0500	[thread overview]
Message-ID: <3AB8F9A5.FC0095FB@mandrakesoft.com> (raw)
In-Reply-To: <85256A16.0067FBE4.00@alpha2.storage.com>

Jalajadevi Ganapathy wrote:
> 
> I could not find that file in the Documentation directory.

It's in kernel 2.4:
> [jgarzik@rum linux_2_4]$ ls -l Documentation/DM*
> -rw-r--r--    1 jgarzik  jgarzik     15302 Mar  7 04:00 Documentation/DMA-mapping.txt

> I have one more question here. I read from a book that  virt_to_phy is same
> as virt_to_bus for PCI devices. Is that True?

On some platforms yes, on some, no.  Nevertheless, in kernel 2.4.x at
least, do not use virt_to_bus and virt_to_phys, use DMA mapping... 
Using virt_to_bus will kill the link step on some platforms.

-- 
Jeff Garzik       | May you have warm words on a cold evening,
Building 1024     | a full mooon on a dark night,
MandrakeSoft      | and a smooth road all the way to your door.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/

  reply	other threads:[~2001-03-21 18:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-21 18:57 Jalajadevi Ganapathy
2001-03-21 18:57 ` Jeff Garzik [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-03-20 19:11 Jalajadevi Ganapathy
2001-03-20 19:56 ` Jeff Garzik

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=3AB8F9A5.FC0095FB@mandrakesoft.com \
    --to=jgarzik@mandrakesoft.com \
    --cc=Linux-MM@kvack.org \
    --cc=jganapat@Storage.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