Date: Sun, 24 Sep 2023 06:05:40 +0000 From: bugzilla-noreply@freebsd.org To: threads@FreeBSD.org Subject: [Bug 268532] [libthr] pthread_mutex_destroy/pshared_gc slow when destroying many process shared locks Message-ID: <bug-268532-13406-lIFdgozDvf@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-268532-13406@https.bugs.freebsd.org/bugzilla/> References: <bug-268532-13406@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268532 Atle <atle.solbakken@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #238992|0 |1 is obsolete| | --- Comment #3 from Atle <atle.solbakken@gmail.com> --- Created attachment 245177 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=245177&action=edit Patch with saving last timestamp after iteration instead of before Thanks for the suggestion. I've moved the store of the last iteration time to after the GC-ing. Now, in the situation of GC-ing being slow, we will still wait a consistent amount of time before doing it again. -- You are receiving this mail because: You are the assignee for the bug.help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-268532-13406-lIFdgozDvf>
