From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pl0-f72.google.com (mail-pl0-f72.google.com [209.85.160.72]) by kanga.kvack.org (Postfix) with ESMTP id C911C6B026B for ; Tue, 24 Jul 2018 10:39:41 -0400 (EDT) Received: by mail-pl0-f72.google.com with SMTP id t1-v6so3064968ply.16 for ; Tue, 24 Jul 2018 07:39:41 -0700 (PDT) Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id z4-v6sor3327608pff.50.2018.07.24.07.39.40 for (Google Transport Security); Tue, 24 Jul 2018 07:39:40 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (1.0) Subject: Re: [PATCH 0/3] PTI for x86-32 Fixes and Updates From: Andy Lutomirski In-Reply-To: <20180724133935.GA30797@amd> Date: Tue, 24 Jul 2018 07:39:38 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <17482884-2DC3-4A09-8AAC-01AC4D8DE293@amacapital.net> References: <1532103744-31902-1-git-send-email-joro@8bytes.org> <20180723140925.GA4285@amd> <20180724133935.GA30797@amd> Sender: owner-linux-mm@kvack.org List-ID: To: Pavel Machek Cc: Linus Torvalds , Joerg Roedel , Thomas Gleixner , Ingo Molnar , Peter Anvin , the arch/x86 maintainers , Linux Kernel Mailing List , linux-mm , Andrew Lutomirski , Dave Hansen , Josh Poimboeuf , =?utf-8?Q?J=C3=BCrgen_Gro=C3=9F?= , Peter Zijlstra , Borislav Petkov , Jiri Kosina , Boris Ostrovsky , Brian Gerst , David Laight , Denys Vlasenko , Eduardo Valentin , Greg Kroah-Hartman , Will Deacon , "Liguori, Anthony" , Daniel Gruss , Hugh Dickins , Kees Cook , Andrea Arcangeli , Waiman Long , "David H . Gutteridge" , Joerg Roedel , Arnaldo Carvalho de Melo , Alexander Shishkin , Jiri Olsa , Namhyung Kim > On Jul 24, 2018, at 6:39 AM, Pavel Machek wrote: >=20 >> On Mon 2018-07-23 12:00:08, Linus Torvalds wrote: >>> On Mon, Jul 23, 2018 at 7:09 AM Pavel Machek wrote: >>>=20 >>> Meanwhile... it looks like gcc is not slowed down significantly, but >>> other stuff sees 30% .. 40% slowdowns... which is rather >>> significant. >>=20 >> That is more or less expected. >=20 > Ok, so I was wrong. bzip2 showed 30% slowdown, but running test in a > loop, I get (on v4.18) that, too. >=20 >=20 ... The obvious cause would be thermal issues, which are increasingly common in l= aptops. You could get cycle counts from perf stat, perhaps.