[all-commits] [llvm/llvm-project] e5bb80: [Support] Properly zero initialize CPU set when qu...
Christian Ulmann via All-commits
all-commits at lists.llvm.org
Thu Jun 5 01:36:45 PDT 2025
Branch: refs/heads/users/dinistro/ensure-zeroing-of-thread-set
Home: https://github.com/llvm/llvm-project
Commit: e5bb80443009c92b8a9dd61e92dcb43a04044f61
https://github.com/llvm/llvm-project/commit/e5bb80443009c92b8a9dd61e92dcb43a04044f61
Author: Christian Ulmann <christian.ulmann at nextsilicon.com>
Date: 2025-06-05 (Thu, 05 Jun 2025)
Changed paths:
M llvm/lib/Support/Unix/Threading.inc
Log Message:
-----------
[Support] Properly zero initialize CPU set when querying affinity
This commit resolves a potential issue of working with uninitialized
memory when querying the CPU's affinity. The man page of
`sched_getaffinity` does not guarantee that the memory will be fully
overwritten, so this change should ensure that issues are avoided.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list