From: Andi Kleen <ak@muc.de>
To: Timur Tabi <timur.tabi@ammasso.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: get_user_pages() still broken in 2.6
Date: Wed, 29 Sep 2004 17:41:09 +0200 [thread overview]
Message-ID: <m3acv93wx6.fsf@averell.firstfloor.org> (raw)
In-Reply-To: <2JOpu-1y1-21@gated-at.bofh.it> (Timur Tabi's message of "Wed, 29 Sep 2004 17:20:14 +0200")
Timur Tabi <timur.tabi@ammasso.com> writes:
> Christoph Hellwig wrote:
>
>> get_user_pages locks the page in memory. It doesn't do anything about ptes.
>
> I don't understand the difference. I thought a locked page is one
> that stays in memory (i.e. isn't swapped out) and whose physical
> address never changes. Is that wrong? All I need to do is keep a
> page in memory at the same physical address until I'm done with it.
After get_user_pages you don't need the page tables anymore.
The struct page *s returned by it can be used for DMA.
-Andi
next parent reply other threads:[~2004-09-29 15:41 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <2JyXo-77W-19@gated-at.bofh.it>
[not found] ` <2JzgH-7rT-11@gated-at.bofh.it>
[not found] ` <2JOpu-1y1-21@gated-at.bofh.it>
2004-09-29 15:41 ` Andi Kleen [this message]
2004-09-28 22:40 get_user_pages() still broken in 2.6 Timur Tabi
2004-09-28 22:40 ` Timur Tabi
2004-09-28 23:03 ` Christoph Hellwig
2004-09-28 23:03 ` Christoph Hellwig
2004-09-28 23:21 ` Dave Hansen
2004-09-28 23:21 ` Dave Hansen
2004-09-29 14:46 ` Timur Tabi
2004-09-29 14:46 ` Timur Tabi
2004-09-29 14:48 ` Timur Tabi
2004-09-29 14:48 ` Timur Tabi
2004-09-29 15:01 ` Christoph Hellwig
2004-09-29 15:01 ` Christoph Hellwig
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=m3acv93wx6.fsf@averell.firstfloor.org \
--to=ak@muc.de \
--cc=linux-kernel@vger.kernel.org \
--cc=timur.tabi@ammasso.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.