[Bug 278845] OpenMP Patches to prevent locking, hanging and CPU limiting to single core.

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 07 May 2024 22:49:04 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278845

            Bug ID: 278845
           Summary: OpenMP Patches to prevent locking, hanging and CPU
                    limiting to single core.
           Product: Base System
           Version: 14.0-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: threads
          Assignee: threads@FreeBSD.org
          Reporter: cbl@cbl.us
                CC: dim@FreeBSD.org

We worked with LLVM OpenMP development group to get a couple of PR fixes added
to fix some big bugs we've been experiencing. 

Fix#1 - Fixes forked processes from hanging:
https://github.com/llvm/llvm-project/pull/88539
Original issue reported: https://github.com/llvm/llvm-project/issues/86684

Fix#2 - Fixes child processes to use affinity_none. Before they were limited to
using a single cpu core for all child processes. 
https://github.com/llvm/llvm-project/pull/91391
Original issue reported: https://github.com/llvm/llvm-project/issues/91098

Fix#2 is only needed in version of llvm 16.x and later.  My original issue
shows it's not an issue in 14.x or 15.x. Since FreeBSD 14.0 and 13.3 leverage
16.x and 17.x, this bug was triggered when we upgraded servers to either
release. 

Hoping we can get both into 14.1 in time for it's upcoming release.

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