Re: Clearing of Ram?

From: Ingo Molnar (mingo@elte.hu)
Date: Wed Sep 06 2000 - 07:58:54 EST


On Wed, 6 Sep 2000, Frank Peters wrote:

> My question is who cleared it the kernel or the malloc function in
> glibc?? (i found some code in glibc but nothing in kernel) thx

it's the second clear_user_highpage() in mm/memory.c that does the page
clearing in the typical malloc()-ed memory case. It's only allocated and
cleared once you or glibc accesses it, with page granularity.

        Ingo

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Sep 07 2000 - 21:00:25 EST