Re: can application find out the physical address of it's buffer ?
- From: Ico <usenet@xxxxxxx>
- Date: 09 May 2007 20:07:26 GMT
Andray Kaganovsky <andrayk@xxxxxxxxxxx> wrote:
Hello,
I would appreciate any help regarding the following problem.
I am writing user-space application, and I need to allocate moderately
sized (few KBytes) buffer in such a way that my application knows
which physical address the allocated buffer resides at.
The related question is, how can I lock the allocated buffer in RAM
so that it will not be swapped out when my application exhaust it's
time slice and is scheduled off the CPU, and will still be at
the same physical address when my application will get back on the
CPU.
The mlock() function might be of help here.
--
:wq
^X^Cy^K^X^C^C^C^C
.
- References:
- can application find out the physical address of it's buffer ?
- From: Andray Kaganovsky
- can application find out the physical address of it's buffer ?
- Prev by Date: can application find out the physical address of it's buffer ?
- Next by Date: Vista USB driver signing
- Previous by thread: can application find out the physical address of it's buffer ?
- Next by thread: Re: can application find out the physical address of it's buffer ?
- Index(es):
Relevant Pages
|