Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1968769imu; Sun, 18 Nov 2018 12:44:20 -0800 (PST) X-Google-Smtp-Source: AJdET5d5hjRMrEhdTZ8oPYs++yC86ERoMFqcbP5fqd1yXoUKuCMakPqa8Zns3mq4Z7S5EVU/EIRi X-Received: by 2002:a62:2e46:: with SMTP id u67mr1200592pfu.3.1542573860208; Sun, 18 Nov 2018 12:44:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542573860; cv=none; d=google.com; s=arc-20160816; b=xmlEU/bRRwojHPit2G5xUZVqMOkPo81YnarTXMggU9dVItdIcDBG8TJKcvNXLtfddy QC6XF71TXNnyGjqs/0LJvoQTK05rkQZiOTPHgxJQT/aaSqJYP5fscPQiL+mhuXQn9rQ+ y2C0eCSt1602frRzFe5narAWzA+gkErfhOWfbban6wBmRSRNlWbgJqxC5ilo4G8lfCCp V4mWmYB9ecR/D2wbAw4JiuDXYaZA9nw+rfWynzxHzHgRaBw93sgcdmIOrAGJWKKdRiLZ 9wS1k9I2oQFHFDZdykNG0ADvcEhmRlylnhvEwI/HmQ/2aKlB7nMPsj2pmpLpXALgHLy2 jE5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :mime-version:dkim-signature; bh=c2q909P5sQXrRCxAmLqJKhSOqMwkN4WUpDNve55F4QM=; b=KL87bYU/OVsvDJidw1wHTbR0eLoNJekMlSx/VvsAbe3wXsiHJociK5CB1HobZB1TYM DUsvSIL/MljVXtuWQeQ4VL0yVW+X2HSXMc2a5k4rPVPt9p0UJLhSCnBP0Llnajf4sVGK seBpT4orbWtd3hAxr2uzTU+Z5CARPOaR0TxlNhXfXOf8QeQwOoVc9iWhW8814kDIcswt K4FHzWKeecLKEElfUgI8D4xkv9Ku6eYLYTvK4d6kai9XBR/dl/iubCA+ZOCLLLMUE9YF z6phCua9L55J8M3wQ60Cszlk5F41AmsiZTfYiePPIkoJ7wjzCyd6RCloP21eUkfQUe67 RZDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b="b/wiWi0a"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d34-v6si39875284pla.33.2018.11.18.12.44.04; Sun, 18 Nov 2018 12:44:20 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b="b/wiWi0a"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727332AbeKSG5p (ORCPT + 99 others); Mon, 19 Nov 2018 01:57:45 -0500 Received: from mail-lf1-f46.google.com ([209.85.167.46]:42314 "EHLO mail-lf1-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727221AbeKSG5p (ORCPT ); Mon, 19 Nov 2018 01:57:45 -0500 Received: by mail-lf1-f46.google.com with SMTP id l10so16271813lfh.9 for ; Sun, 18 Nov 2018 12:36:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:from:date:message-id:subject:to:cc; bh=c2q909P5sQXrRCxAmLqJKhSOqMwkN4WUpDNve55F4QM=; b=b/wiWi0ahgUOkI04rx2yD1qgNMQkfVEmb0YATHKOHwpMArfml6ygXROrPtmxDMZaNa Yo+JUbzUPKDqwJgW2d721zYXyYVgDBm1O1GHu9etMGuHZd5EWX0qX+gwULUbAUseJF10 tXh5/vxMQB3aDxgihsV5ok62HJFhieBeqvo8s= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=c2q909P5sQXrRCxAmLqJKhSOqMwkN4WUpDNve55F4QM=; b=edpk/Oi41IQfITz+ON+E+FYKVgW1wl3+xoU3rlnsI2RvklzvcO1Xh2irG13nFovHRq yJKNSWfgY7DZiecn6r1wwa7pHeKjm8rIVGnHTrsG5zqw41cW0qcrnuQaejbGbsBKkSRk xyK3xxwVwA3MXwC5+07RyLPFRsL9A3fW28gc66tSaLB66iMhHaJO5NOxBJDovfhJtmgc 89eX29fU3e+IBZ5XlvyQCWHpQitaJqbs25el2DUUvnvwI450FjEcpyrWhWpTFgffMLNT Gkv2GfV2o4SKhTrit/9O1lWEQBGKkajM9/NA/Vm5tLD93E4vqoo1k4nIjm8Z2/fAlY2K 5xXw== X-Gm-Message-State: AGRZ1gJ88/VBbaDXzkfw5OhiA6Ehi3umDOdiyYHNhK99P1Nngj/WMGGc 2pLbkU8XJc7ve7e7IAKPq81++RIXCBQ= X-Received: by 2002:a19:2584:: with SMTP id l126mr9067318lfl.69.1542573386378; Sun, 18 Nov 2018 12:36:26 -0800 (PST) Received: from mail-lf1-f43.google.com (mail-lf1-f43.google.com. [209.85.167.43]) by smtp.gmail.com with ESMTPSA id g17sm54154lfj.36.2018.11.18.12.36.24 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 18 Nov 2018 12:36:25 -0800 (PST) Received: by mail-lf1-f43.google.com with SMTP id p6so19883130lfc.1 for ; Sun, 18 Nov 2018 12:36:24 -0800 (PST) X-Received: by 2002:a19:3fcf:: with SMTP id m198mr8964929lfa.106.1542573384297; Sun, 18 Nov 2018 12:36:24 -0800 (PST) MIME-Version: 1.0 From: Linus Torvalds Date: Sun, 18 Nov 2018 12:36:08 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: STIBP by default.. Revert? To: Jiri Kosina , Thomas Gleixner , Peter Zijlstra , Josh Poimboeuf , Andrea Arcangeli , David Woodhouse , Andi Kleen , Tim Chen , Casey Schaufler Cc: Linux List Kernel Mailing , "the arch/x86 maintainers" , stable@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This was marked for stable, and honestly, nowhere in the discussion did I see any mention of just *how* bad the performance impact of this was. When performance goes down by 50% on some loads, people need to start asking themselves whether it was worth it. It's apparently better to just disable SMT entirely, which is what security-conscious people do anyway. So why do that STIBP slow-down by default when the people who *really* care already disabled SMT? I think we should use the same logic as for L1TF: we default to something that doesn't kill performance. Warn once about it, and let the crazy people say "I'd rather take a 50% performance hit than worry about a theoretical issue". Linus