jasone      2008-02-17 18:34:17 UTC

  FreeBSD src repository

  Modified files:
    lib/libc/stdlib      malloc.c 
  Log:
  Fix a race condition in arena_ralloc() for shrinking in-place large
  reallocation, when junk filling is enabled.  Junk filling must occur
  prior to shrinking, since any deallocated trailing pages are immediately
  available for use by other threads.
  
  Reported by:    Mats Palmgren <[EMAIL PROTECTED]>
  
  Revision  Changes    Path
  1.166     +41 -25    src/lib/libc/stdlib/malloc.c
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to