This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug nscd/7067] nscd race between prune thread and cache invalidation
- From: "drepper at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 9 Dec 2008 05:27:07 -0000
- Subject: [Bug nscd/7067] nscd race between prune thread and cache invalidation
- References: <20081204011730.7067.pasky@suse.cz>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From drepper at redhat dot com 2008-12-09 05:27 -------
I agree with the patch. But the justification given in the comment is wrong.
If we'd only worry about cache_add being called we'd use a recursive mutex. The
real reason this patch is what we want is to enable concurrent calls to
cache_add while the cache is pruned.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://sourceware.org/bugzilla/show_bug.cgi?id=7067
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.