[libc-commits] [PATCH] D150309: [libc][rpc] Allocate locks array within process
Jon Chesterfield via Phabricator via libc-commits
libc-commits at lists.llvm.org
Wed May 10 14:28:28 PDT 2023
JonChesterfield created this revision.
JonChesterfield added a reviewer: jhuber6.
Herald added subscribers: libc-commits, mattd, asavonic, ecnelises, kerbowa, tschuett, jvesely.
Herald added projects: libc-project, All.
JonChesterfield requested review of this revision.
Replaces the globals currently used. Worth changing to a bitmap
before allowing runtime number of ports >> 64. One bit per port is likely
to be cheap enough that sizing for the worst case is always fine, otherwise
in the future we can change to dynamically allocating it.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D150309
Files:
libc/src/__support/RPC/rpc.h
libc/startup/gpu/amdgpu/start.cpp
libc/startup/gpu/nvptx/start.cpp
libc/utils/gpu/loader/Server.h
libc/utils/gpu/loader/amdgpu/Loader.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D150309.521104.patch
Type: text/x-patch
Size: 4770 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230510/458aaa0d/attachment-0001.bin>
More information about the libc-commits
mailing list