All of lore.kernel.org
 help / color / mirror / Atom feed
From: yipee <yipeeyipeeyipeeyipee@yahoo.com>
To: linux-kernel@vger.kernel.org
Subject: Re: changing physical page
Date: Fri, 3 Feb 2006 04:58:07 +0000 (UTC)	[thread overview]
Message-ID: <loom.20060203T055339-322@post.gmane.org> (raw)
In-Reply-To: Pine.LNX.4.61.0602021138001.21010@chaos.analogic.com

linux-os (Dick Johnson <linux-os <at> analogic.com> writes:

[snip]
 
> If your program(s) rely upon being in some physical location,
> they are broken. Even with mlockall(), you just keep them
> where they are, not where you'd like them to be. If you
> are trying to DMA into/out-of user-space, there is only
> ONE way to do it. Your driver allocates DMA-able pages and
> your code mmaps() it into user-space. That way, the page(s)
> are always present and have the right attributes. If you
> malloc() something, then try to "convert" in the kernel
> through your driver, the code's broken.

And all this page-moving for getting contiguous DMA memory, happens today on
x86_64 kernels?
Can you please give me a pointer to the source code?


Thanks



  reply	other threads:[~2006-02-03  4:58 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-02 15:08 changing physical page yipee
2006-02-02 15:50 ` linux-os (Dick Johnson)
2006-02-02 16:23   ` yipee
2006-02-02 16:47   ` linux-os (Dick Johnson)
2006-02-03  4:58     ` yipee [this message]
2006-02-02 17:18 ` Hugh Dickins
2006-02-04 14:29   ` yipee
2006-02-04 15:20     ` Hugh Dickins
2006-02-05  7:00       ` Gleb Natapov
2006-02-05 11:55         ` Hugh Dickins

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=loom.20060203T055339-322@post.gmane.org \
    --to=yipeeyipeeyipeeyipee@yahoo.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 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.