From: sasha <sasha@scalemp.com>
To: linux-kernel@vger.kernel.org
Subject: Map memory to user, then map it back to kernel
Date: Wed, 09 Aug 2006 10:17:07 +0300 [thread overview]
Message-ID: <44D98BF3.5060706@scalemp.com> (raw)
Hi folks.
I am looking for a way to map a memory (allocated with get_free_pages())
from kernel space to user space, so that I will later be able to map it
back with get_user_pages().
I tried remap_pfn_range(), but it didn't work as it assumes the memory
being mapped is IO range (marking vma with VM_IO flag), while
get_user_pages() works on regular memory.
Any ideas?
Thanks.
Alexander Sandler.
PS: Please CC to me.
next reply other threads:[~2006-08-09 7:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-09 7:17 sasha [this message]
2006-08-09 14:32 ` Map memory to user, then map it back to kernel Jiri Slaby
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=44D98BF3.5060706@scalemp.com \
--to=sasha@scalemp.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.