From: "H. Peter Anvin" <hpa@zytor.com>
To: Xin Tong <xerox.time.tech@gmail.com>
Cc: "Américo Wang" <xiyou.wangcong@gmail.com>,
linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: copy_*_user
Date: Sun, 23 Oct 2011 12:15:02 +0200 [thread overview]
Message-ID: <4EA3E926.80203@zytor.com> (raw)
In-Reply-To: <CALKntY0222DBU88W=j0Y2FpN7NRMSxmDk4XKy-m+keri4Gcu_A@mail.gmail.com>
On 10/23/2011 11:23 AM, Xin Tong wrote:
> I found that __copy_from_user_ll(void *to, const void __user *from,
> unsigned long n) eventually calls some asm which use mov and rep on
> the passed-in to & from pointers. This is in kernel mode and to & from
> are virtual addresses ? are not the kernel accessing physical RAM
> directly ( without pagetable ) ?
No. What gave you that idea?
-hpa
next prev parent reply other threads:[~2011-10-23 10:15 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-22 17:06 copy_*_user Xin Tong
2011-10-23 2:50 ` copy_*_user Américo Wang
2011-10-23 9:23 ` copy_*_user Xin Tong
2011-10-23 10:15 ` H. Peter Anvin [this message]
2011-10-23 11:25 ` copy_*_user Xin Tong
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=4EA3E926.80203@zytor.com \
--to=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=xerox.time.tech@gmail.com \
--cc=xiyou.wangcong@gmail.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.