When you malloc a memory or mmap a MAP_ANON memory, it is virtually
allocated. When you read or write to it, the process takes a page fault.
The page fault handler zeroes those memory and hands it to the process.
So I think there is no leak.
-Fredrick
On 01/11/2012 04:53 AM, 夏业添 wrote:
> Hi,
>
Hi Greg,
What type of diagnostics are you trying to do?
I am trying to is to make communication to all the chips present
on board (from kernel) and make sure all the input/output lines are working
on that chip and the status of the configuration.
As I am doing with the other chips like
On Tue, Jan 17, 2012 at 07:26:24PM +0530, Praveen kumar wrote:
> Hi Greg,
>
> What type of diagnostics are you trying to do?
> I am trying to is to make communication to all the chips present on
> board (from kernel) and make sure all the input/output lines are working on
> that chip an