lkml.org 
[lkml]   [2000]   [Sep]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Clearing of Ram?

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/

\
 
 \ /
  Last update: 2005-03-22 12:39    [W:0.048 / U:1.920 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site