Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(708)

Issue 1806853002: Revert "Detect cache line size on Linux for PPC hosts." (Closed)

Created:
4 years, 9 months ago by Jakob Kummerow
Modified:
4 years, 9 months ago
Reviewers:
baptiste.afsa1, Yang
CC:
v8-reviews_googlegroups.com, v8-ppc-ports_googlegroups.com, echristo.google, Michael Hablich, Rodolph Perfetta (ARM)
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Revert "Detect cache line size on Linux for PPC hosts." along with "[arm64] Fix i/d cache line size confusion typo" and "Fix a warning about inline asm source/destination mismatches..." which were building on it. This reverts the following commits: 8d7399f9f8688a93137ced9e084bccb8cc1b075c 474e6a3d6d3482b97c8307e45bb314f6e50bfc3c c3ff68b6b76ff1ffa1f6cd7c82181366020a0fe2 Reason for revert: We're getting a large number of crash reports from arm64 devices that are obviously related to cache flushing after code patching. Bisection results say that the problems started at revision c3ff68b. Since I can't find a bug in that CL except for the typo that I've fixed in 474e6a3 (which made some of the crashes go away but not all of them), we have no choice but to revert the changes in order to get stability under control while we investigate. BUG=chromium:594646 LOG=n Committed: https://crrev.com/5d62db7430d48e112ddda7178419dc63adb32620 Cr-Commit-Position: refs/heads/master@{#34816}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+78 lines, -77 lines) Patch
M src/arm/assembler-arm.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M src/arm/codegen-arm.cc View 2 chunks +5 lines, -5 lines 0 comments Download
M src/arm64/assembler-arm64.cc View 1 chunk +0 lines, -3 lines 0 comments Download
M src/arm64/cpu-arm64.cc View 2 chunks +28 lines, -2 lines 0 comments Download
M src/assembler.h View 2 chunks +4 lines, -10 lines 0 comments Download
M src/assembler.cc View 1 chunk +1 line, -2 lines 0 comments Download
M src/base/cpu.h View 2 chunks +0 lines, -5 lines 0 comments Download
M src/base/cpu.cc View 4 chunks +3 lines, -43 lines 0 comments Download
M src/ppc/assembler-ppc.cc View 2 chunks +1 line, -4 lines 0 comments Download
M src/ppc/cpu-ppc.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/ppc/macro-assembler-ppc.cc View 1 chunk +33 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (5 generated)
Jakob Kummerow
Yang: PTAL (clean revert + git-cl-format, no manual changes, no conflicts) Michael: FYI. echristo: We'll ...
4 years, 9 months ago (2016-03-16 12:19:57 UTC) #2
Yang
On 2016/03/16 12:19:57, Jakob wrote: > Yang: PTAL (clean revert + git-cl-format, no manual changes, ...
4 years, 9 months ago (2016-03-16 12:20:56 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1806853002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1806853002/1
4 years, 9 months ago (2016-03-16 12:21:41 UTC) #5
Jakob Kummerow
> If anyone can tell me which part of this revert actually changes cache > ...
4 years, 9 months ago (2016-03-16 12:46:25 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux_arm64_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_arm64_rel/builds/16988)
4 years, 9 months ago (2016-03-16 13:04:57 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1806853002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1806853002/1
4 years, 9 months ago (2016-03-16 13:16:36 UTC) #10
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 9 months ago (2016-03-16 13:49:44 UTC) #11
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/5d62db7430d48e112ddda7178419dc63adb32620 Cr-Commit-Position: refs/heads/master@{#34816}
4 years, 9 months ago (2016-03-16 13:50:34 UTC) #13
baptiste.afsa1
4 years, 9 months ago (2016-03-16 15:03:22 UTC) #14
Message was sent while issue was closed.
On 2016/03/16 12:46:25, Jakob wrote:
> > If anyone can tell me which part of this revert actually changes cache 
> > flushing behavior on arm64, they'll get a cookie, 'cause I don't
> > see it...
> 
> Yang suggested that on a big.LITTLE architecture, the two kinds of cores could
> have different cache line sizes, which would indeed explain why getting the
> cache line size immediately before using it (like V8 used to do, and will do
> again after this revert) works fine, whereas caching the cache line sizes
(like
> c3ff68b did) is generally not safe.
> 
> Rodolph, does that make sense?

Hi Jakob,

We are looking at this issue but it's pretty hard to guess what's happening
here without more information. Do you have more details on the devices which
are affected by this regression that you could share with us?

Powered by Google App Engine
This is Rietveld 408576698