Return-Path: Received: from mail.linutronix.de (146.0.238.70:993) by crypto-ml.lab.linutronix.de with IMAP4-SSL for ; 22 Feb 2019 22:50:23 -0000 Received: from mga12.intel.com ([192.55.52.136]) by Galois.linutronix.de with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1gxJeA-00068R-FE for speck@linutronix.de; Fri, 22 Feb 2019 23:50:22 +0100 Subject: [MODERATED] Fwd: [PATCH 4/4] walnut 4 References: From: Nelson D'Souza Message-ID: <47f2b71e-96b5-da80-d87e-882b36a34133@linux.intel.com> Date: Fri, 22 Feb 2019 14:58:56 -0800 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/mixed; boundary="ERiSrkmjPmYFfvfDQAgRrqjUzjQmeBFVm"; protected-headers="v1" To: speck@linutronix.de List-ID: This is an OpenPGP/MIME encrypted message (RFC 4880 and 3156) --ERiSrkmjPmYFfvfDQAgRrqjUzjQmeBFVm Content-Type: multipart/mixed; boundary="------------AEA743FE5A39B07BF85E4F5B" Content-Language: en-US This is a multi-part message in MIME format. --------------AEA743FE5A39B07BF85E4F5B Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Hi Peter, I have attached the initial test logs from your latest patchset.=20 The perf command does not crash when /sys/devices/cpu/allow_tsx_force_abo= rt is set to 0. =20 Thanks, Nelson On 2/19/19 8:10 AM, speck for Peter Zijlstra wrote: > On Tue, Feb 19, 2019 at 04:58:11PM +0100, speck for Peter Zijlstra wrot= e: >> + if (!allow_tsx_force_abort && test_bit(3, c->idxmsk)) { >> + c =3D dyn_constraint(cpuc, c, idx); >> + c->idxmsk64 &=3D ~(1ULL << 3); >> + c->weight =3D c->idxmsk64 - 1; >=20 > Damn; that should be: >=20 > c->weight--; >=20 --------------AEA743FE5A39B07BF85E4F5B Content-Type: text/plain; charset=UTF-8; name="tsx_force_abort_0.3counters" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="tsx_force_abort_0.3counters" # started on Thu Feb 21 15:23:52 2019 Performance counter stats for 'system wide': 89,033 cache-misses # 21.591 % of all cac= he refs =20 412,353 cache-references = =20 4,630,472,209 branches = =20 1.005154418 seconds time elapsed --------------AEA743FE5A39B07BF85E4F5B Content-Type: text/plain; charset=UTF-8; name="tsx_force_abort_0.4counters" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="tsx_force_abort_0.4counters" # started on Thu Feb 21 15:24:10 2019 Performance counter stats for 'system wide': cache-misses = =20 cache-references = =20 branches = =20 branch-misses = =20 1.005054423 seconds time elapsed --------------AEA743FE5A39B07BF85E4F5B Content-Type: text/plain; charset=UTF-8; name="tsx_force_abort_1.3counters" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="tsx_force_abort_1.3counters" # started on Thu Feb 21 15:21:37 2019 Performance counter stats for 'system wide': 58,484 cache-misses # 14.165 % of all cac= he refs =20 412,875 cache-references = =20 4,627,163,916 branches = =20 1.005123883 seconds time elapsed --------------AEA743FE5A39B07BF85E4F5B Content-Type: text/plain; charset=UTF-8; name="tsx_force_abort_1.4counters" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="tsx_force_abort_1.4counters" # started on Thu Feb 21 15:21:04 2019 Performance counter stats for 'system wide': 71,146 cache-misses # 11.203 % of all cac= he refs =20 635,039 cache-references = =20 4,616,150,556 branches = =20 84,552 branch-misses # 0.00% of all branc= hes =20 1.005141562 seconds time elapsed --------------AEA743FE5A39B07BF85E4F5B-- --ERiSrkmjPmYFfvfDQAgRrqjUzjQmeBFVm--