[Bug 268532] [libthr] pthread_mutex_destroy/pshared_gc slow when destroying many process shared locks
[email protected] Sun, 24 Sep 2023 06:05:40 +0000
| Newsgroups | gmane.os.freebsd.devel.threading |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268532 Atle <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #238992|0 |1 is obsolete| | --- Comment #3 from Atle <[email protected]> --- 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.