From: "Vedang - 1337 u|33r h4x0r" <ved.manerikar@gmail.com>
To: linux-mm@kvack.org
Subject: get_vm_area WITHOUT alloc_pages
Date: Thu, 7 Feb 2008 13:50:07 +0530 [thread overview]
Message-ID: <ce9e96720802070020y3b7783c0we007f0651629228b@mail.gmail.com> (raw)
Can I use get_vm_area() to ONLY allocate virtual memory without
calling alloc_pages later? I have the physical address of a page with
me, and I'm going to make a manual entry in the PTE. Will the above
approach have any uncalled for consequences?
I am hacking the paging mechanism, to understand the working, and I
wish to map a physical page to two different virtual addresses without
using standard kernel functions.
--
Solaris is simple. It takes a genius to understand it's simplicity.
- Anon
People think it must be fun to be a super genius, but they don't
realize how hard it is to put up with all the idiots in the world.
- Calvin.
Cheers,
Vedang.
B.E. Computer Engineering,
P.I.C.T Pune.
http://blogs.sun.com/vedang
http://dose-of-wisdom.blogspot.com
http://tech-rantings.blogspot.com
--
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-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
reply other threads:[~2008-02-07 8:20 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=ce9e96720802070020y3b7783c0we007f0651629228b@mail.gmail.com \
--to=ved.manerikar@gmail.com \
--cc=linux-mm@kvack.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox