Hello Adar Dembo,
I'd like you to do a code review. Please visit
http://gerrit.cloudera.org:8080/6661
to review the following change.
Change subject: gutil: stop supporting AMD Opteron K8
......................................................................
gutil: stop supporting AMD Opteron K8
This removes a workaround for a bug in very old (circa 2003) Opteron
chips. The workaround was producing an extra branch around most of our
atomic operations. This likely has a negligible perf impact, but it's
possible the slightly smaller code would make us run a bit faster or
reduce branch mispredictions.
This also adds a missing call to init the feature flags in the first
place, which we seem to have forgotten the first time around.
Impala made a similar change[1][2] a while back and seems to have had
no real issues.
[1] https://gerrit.cloudera.org/#/c/2516/
[2]
https://github.com/apache/incubator-impala/commit/a7c3f301bb1da14d6bb35d37aab47450c67cca0c
Change-Id: I59b5aeaae56b5f310b5dd160b868fcb5d04f4da1
---
M src/kudu/gutil/atomicops-internals-tsan.h
M src/kudu/gutil/atomicops-internals-x86.cc
M src/kudu/gutil/atomicops-internals-x86.h
M src/kudu/util/init.cc
4 files changed, 9 insertions(+), 35 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/61/6661/1
--
To view, visit http://gerrit.cloudera.org:8080/6661
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I59b5aeaae56b5f310b5dd160b868fcb5d04f4da1
Gerrit-PatchSet: 1
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Todd Lipcon <[email protected]>
Gerrit-Reviewer: Adar Dembo <[email protected]>