NetBSD-Bugs archive

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

PR/42876 CVS commit: src/lib/libc/stdlib

The following reply was made to PR lib/42876; it has been noted by GNATS.

From: enami tsugutomo <>
Subject: PR/42876 CVS commit: src/lib/libc/stdlib
Date: Thu, 4 Mar 2010 22:48:31 +0000

 Module Name:   src
 Committed By:  enami
 Date:          Thu Mar  4 22:48:31 UTC 2010
 Modified Files:
        src/lib/libc/stdlib: jemalloc.c
 Log Message:
 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().
 Fixes PR/42876.
 To generate a diff of this commit:
 cvs rdiff -u -r1.20 -r1.21 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.

Home | Main Index | Thread Index | Old Index