nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   General Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=27)
-   -   Physical memory request to Linux Kernel (http://www.nvnews.net/vbulletin/showthread.php?t=107512)

tanmay.anjaria 02-06-08 12:44 AM

Physical memory request to Linux Kernel
 
Hello,

I am running a multithreaded program for which I'm in need of acquiring some physical memory from linux kernel.

malloc() gives virtually memory mapped memory and then MMU translates that into physical memory...

Can someone show me the way to allocate Physical memory directly on linux? (without routing through virtual)

Thanks,
Tanmay

mlauss 02-06-08 09:02 AM

Re: Physical memory request to Linux Kernel
 
What are you trying to achieve? Why do you need memory to be at a certain
physical address?

Valheru 03-15-08 04:03 AM

Re: Physical memory request to Linux Kernel
 
You can't. That would mean bypassing the TLB, which operates at a hardware level.


All times are GMT -5. The time now is 09:51 PM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.