[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
PR/42876 CVS commit: [netbsd-5] src/lib/libc/stdlib
The following reply was made to PR lib/42876; it has been noted by GNATS.
From: Jeff Rizzo <riz%netbsd.org@localhost>
Subject: PR/42876 CVS commit: [netbsd-5] src/lib/libc/stdlib
Date: Sat, 13 Mar 2010 00:53:33 +0000
Module Name: src
Committed By: riz
Date: Sat Mar 13 00:53:33 UTC 2010
src/lib/libc/stdlib [netbsd-5]: jemalloc.c
Pull up following revision(s) (requested by enami in ticket #1327):
lib/libc/stdlib/jemalloc.c: revision 1.21
Fix race condition on reallocation of huge category.
We need to remove the old region before mremap() since if it relesae the
old region, other thread may map it for the same huge category allocation
and insert it to the tree before we acquire a lock after mremap().
To generate a diff of this commit:
cvs rdiff -u -r1.19 -r220.127.116.11 src/lib/libc/stdlib/jemalloc.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Main Index |
Thread Index |