Date: Tue, 20 Jul 1999 10:54:46 -0700 (PDT) From: Matthew Dillon <dillon@apollo.backplane.com> To: Bob Bishop <rb@gid.co.uk> Cc: "Kelly Yancey" <kbyanc@alcnet.com>, <crandall@matchlogic.com>, <freebsd-hackers@FreeBSD.ORG> Subject: Re: RE: Overcommit and calloc() Message-ID: <199907201754.KAA06018@apollo.backplane.com> References: <l0302092bb3ba6fac9d72@[194.32.164.2]>
next in thread | previous in thread | raw e-mail | index | archive | help
:Hi, : :At 1:28 pm -0400 20/7/99, Kelly Yancey wrote: :>[...] :> On recent thought though, I seem to recall having read in the 4.4BSD :>Daemon book that having the kernel zero memory is not the preferred :>practice, but present because when they tried to stop many progrems dies :>which assumed memory was initialized to zero. : :Handing out unzeroed memory is a potential security hole. : :-- :Bob Bishop (0118) 977 4017 international code +44 118 :rb@gid.co.uk fax (0118) 989 4254 between 0800 and 1800 UK It should also be noted that unless your system is entirely cpu-bound, there is no cost to the kernel to zero memory because it pre-zero's pages in its idle loop. -Matt Matthew Dillon <dillon@backplane.com> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199907201754.KAA06018>