On Tue, Dec 21, 2010 at 11:08:29PM -0700, Anthony J. Bentley wrote:
> Hi,
>
> This looks like a typo, almost changes the meaning of the sentence:
>
> Index: lib/libc/stdlib/malloc.3
> ===================================================================
> RCS file: /cvs/src/lib/libc/stdlib/malloc.3,v
> retrieving revision 1.68
> diff -u lib/libc/stdlib/malloc.3
> --- lib/libc/stdlib/malloc.3 26 May 2010 08:22:11 -0000 1.68
> +++ lib/libc/stdlib/malloc.3 22 Dec 2010 06:02:47 -0000
> @@ -235,7 +235,7 @@
> Unused pages on the freelist are read and write protected to
> cause a segmentation fault upon access.
> This will also switch off the delayed freeing of chunks,
> -reducing random behaviour but detecting double
> +reducing random behaviour by detecting double
> .Fn free
> calls as early as possible.
> .It Cm G
No.
I'm trying to express there: you pay a bit (by reducing randomness),
but you also gains a bit (earlier detection).
-Otto