Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753163AbeAKBru (ORCPT + 1 other); Wed, 10 Jan 2018 20:47:50 -0500 Received: from one.firstfloor.org ([193.170.194.197]:59304 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752887AbeAKBrt (ORCPT ); Wed, 10 Jan 2018 20:47:49 -0500 Date: Wed, 10 Jan 2018 17:47:47 -0800 From: Andi Kleen To: Andy Lutomirski Cc: Brian Gerst , Andi Kleen , Thomas Gleixner , the arch/x86 maintainers , Linux Kernel Mailing List , Linus Torvalds , David Woodhouse , Paul Turner , Andy Lutomirski , Peter Zijlstra , Tom Lendacky , Tim Chen , Greg Kroah-Hartman , Dave Hansen , Jiri Kosina , Andi Kleen Subject: Re: [PATCH v1 1/8] x86/entry/clearregs: Remove partial stack frame in fast system call Message-ID: <20180111014747.d5k4bpggmqxmczu5@two.firstfloor.org> References: <20180110010328.22163-1-andi@firstfloor.org> <20180110010328.22163-2-andi@firstfloor.org> <20180111001626.m5cgtngkmoskuhyh@two.firstfloor.org> <550472D4-8A2E-4219-B1ED-71EA5597E3A2@amacapital.net> <4E2A660B-720F-43B2-A08F-F48CC8D91E05@amacapital.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4E2A660B-720F-43B2-A08F-F48CC8D91E05@amacapital.net> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: > What I mean is: this whole series is almost certainly a performance regression, it has no off switch, and is doesn't obviously solve any problem. It' didn't qualify as a so. And no one has benchmarked it. I think we should seriously consider just not applying it. Well it's kernel hardening to guard against possible future speculation attacks. Linus discussed it here for example: https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg1580667.html For the on/off switch I can add a CONFIG to enable it, even though it seems somewhat silly. -Andi