Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 May 2015 11:31:32 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-threads@FreeBSD.org
Subject:   [Bug 200138] [PATCH] Fixed sthread-specific array allocation conflict incurred in libthr by some foreign malloc libraries
Message-ID:  <bug-200138-16-P8r5KTfs5e@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-200138-16@https.bugs.freebsd.org/bugzilla/>
References:  <bug-200138-16@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200138

--- Comment #13 from yuri@rawbw.com ---
Also sizeof(pthread_specific_elem)=12 * PTHREAD_KEYS_MAX=256 = 3kB.

Every thread will always have 3kB attached. I am sure there are a lot of
threads which don't use pthread_setspecific at all, and an extra 3K will be a
burden for them.

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-200138-16-P8r5KTfs5e>