* get_vm_area WITHOUT alloc_pages
@ 2008-02-07 8:20 Vedang - 1337 u|33r h4x0r
0 siblings, 0 replies; only message in thread
From: Vedang - 1337 u|33r h4x0r @ 2008-02-07 8:20 UTC (permalink / raw)
To: linux-mm
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>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-02-07 8:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-07 8:20 get_vm_area WITHOUT alloc_pages Vedang - 1337 u|33r h4x0r
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox