[libc-commits] [libc] [libc] add a simple TTAS spin lock (PR #98846)

Schrodinger ZHU Yifan via libc-commits libc-commits at lists.llvm.org
Sun Jul 14 17:15:44 PDT 2024


SchrodingerZhu wrote:

So according to the discussion in that paper, CTR is considered more performant in 1-to-1 communication:

>  in our case with the 1-to-1 communication protocol used on the Grant field in Hemlock, busy-waiting via
read-modify-write atomic operations provides a performance benefit. Because of the simple communication pattern, back-off in the busy-waiting loop is not useful.



https://github.com/llvm/llvm-project/pull/98846


More information about the libc-commits mailing list