Re: Clearing of Ram?

From: Ingo Molnar (
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.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

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