[all-commits] [llvm/llvm-project] 9ffde1: [libc] Add PAUSE instruction for the RPC spin loop

Joseph Huber via All-commits all-commits at lists.llvm.org
Fri Jul 28 16:09:18 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9ffde19d112e71ac5716d07f48fa20d85232adf9
      https://github.com/llvm/llvm-project/commit/9ffde19d112e71ac5716d07f48fa20d85232adf9
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2023-07-28 (Fri, 28 Jul 2023)

  Changed paths:
    M libc/src/__support/RPC/rpc_util.h

  Log Message:
  -----------
  [libc] Add PAUSE instruction for the RPC spin loop

The other architectures use a brief sleep to defer work during this spin
loop that checks the RPC mailboxes. This patch adds one for x64 to
improve usage when running the server.

Reviewed By: tianshilei1992

Differential Revision: https://reviews.llvm.org/D156566




More information about the All-commits mailing list