This is an automated email from the ASF dual-hosted git repository.

alexey pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kudu.git


The following commit(s) were added to refs/heads/master by this push:
     new 71da1a383 Busy loop is proposed for ppc64le to implement PauseCPU()
71da1a383 is described below

commit 71da1a3832059d80a4d30bb0152d2011790a4629
Author: harinreddy <[email protected]>
AuthorDate: Sun Sep 18 21:56:15 2022 -0500

    Busy loop is proposed for ppc64le to implement PauseCPU()
    
    The busy loop implementation may have some undesirable
    side effects and may be replaced if future investigation results in
    a better implementation for PowerPC architecture.
    
     Changes to be committed:
            modified:   src/kudu/gutil/atomicops-internals-powerpc.h
    
    Change-Id: Ia5ea633e91e09d102f68639d0ec43792610b58d2
    Reviewed-on: http://gerrit.cloudera.org:8080/19010
    Tested-by: Kudu Jenkins
    Reviewed-by: Alexey Serbin <[email protected]>
---
 src/kudu/gutil/atomicops-internals-powerpc.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/kudu/gutil/atomicops-internals-powerpc.h 
b/src/kudu/gutil/atomicops-internals-powerpc.h
index 7969c2c37..a9f1fa94a 100644
--- a/src/kudu/gutil/atomicops-internals-powerpc.h
+++ b/src/kudu/gutil/atomicops-internals-powerpc.h
@@ -49,6 +49,8 @@ namespace subtle {
 
 typedef int32_t Atomic32;
 typedef int64_t Atomic64;
+inline void PauseCPU() {
+}
 
 // sync vs. lwsync:
 // 1. lwsync only works in cache enabled memory (system memory).  lwsync is

Reply via email to