public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* PING^2: [PATCH v3] eliminate mutex in fast path of __register_frame
@ 2022-08-26 13:01 Thomas Neumann
  0 siblings, 0 replies; only message in thread
From: Thomas Neumann @ 2022-08-26 13:01 UTC (permalink / raw)
  To: gcc-patches

Summary: __register_frame and the corresponding _Unwind_Find_FDE use a 
global mutex for frame registration and unwinding. This can lead to very 
poor performance on machines with high core counts. This patch organizes 
the frames in a b-tree with read-optimized synchronization instead, 
which allows for fully parallel unwinding.

See:
https://gcc.gnu.org/pipermail/gcc-patches/2022-June/597256.html

Best

Thomas

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-08-26 13:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-26 13:01 PING^2: [PATCH v3] eliminate mutex in fast path of __register_frame Thomas Neumann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).