[Bug 278703] Forking on 13.3 restricting to same CPU core

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 07 May 2024 19:29:26 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278703

--- Comment #6 from cbl@cbl.us ---
Looks like I have some traction on this LLVM bug, and it should have a PR soon.

https://github.com/llvm/llvm-project/issues/91098

It's a bug in the atfork() handler on Unix systems + logic in reinitializing
the  child process. The current library incorrectly sets the child process'
affinity to  compact, which roughly translates to "pin consecutive threads to
consecutive cores", even when the user hasn't set KMP_AFFINITY to anything. So
every child process was pinned to the first core instead of the entire system.


Curious how hard it'd be to get the PR fix into 13.x and/or 14.x.

Thanks.

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