[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: libc and free()



bruce@pixar.com (Bruce Perens)  wrote on 03.11.96 in <m0vKGdp-00HxawC@golem.pixar.com>:

> So, the first time you touch any of those newly-reallocated pages you
> will wait while the OS zeroes the entire page.  If you had simply kept

I remember some talk - on linux-kernel, I believe - about keeping a set or  
pre-zeroed pages for this reason. I don't know if it happened.

Anyway, as Linux does only commit memory when it's actually used, you'll  
get the wait not on alloc, but on use, I believe.

MfG Kai

--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com


Reply to: