Re: Virtual memory access probing?
Re: Virtual memory access probing?
- Subject: Re: Virtual memory access probing?
- From: Michael Smith <email@hidden>
- Date: Mon, 6 Jul 2009 08:35:22 -0700
On Jul 6, 2009, at 7:33 AM, Alexander Klyuev wrote: Does anybody know is these any virtual memory function that could help to probe memory access, in other words I'd like to test some memory region or let's say a pointer to prevent "page fault" exceprion resulting in kernel panic?
The Darwin kernel is multithreaded and fully pre-emptive, so such a function would have limited utility without a guarantee that the validity or otherwise of the page would remain constant for the duration of the test and any decision you might make as a consequence of the result of the test. Or could I somehow catch virtual memory access exception in kernel code?
Any ideas would be highly appreciated.
What Are You Trying To Do?™
= Mike
-- Excellence in any department can be attained only by the labor of a lifetime; it is not to be purchased at a lesser price -- Samuel Johnson
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden