Received: by 10.223.176.5 with SMTP id f5csp1459785wra; Sun, 28 Jan 2018 01:29:58 -0800 (PST) X-Google-Smtp-Source: AH8x2244EJud7Yw/o8ZgGwUPoD1MkowbQ2baNHmDY0cswaJBWwWQwl3j2VlLE1hxG7mT85xB6NDB X-Received: by 10.99.124.24 with SMTP id x24mr19007271pgc.351.1517131798685; Sun, 28 Jan 2018 01:29:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517131798; cv=none; d=google.com; s=arc-20160816; b=hM1qkyCVbXbZXfsh0QQtTM3pgdgHzok1rV3IkJBSBdf33uXooaIQbZz+7GmsqihWcF uYYQpIAqjq4RDDy2zXzpN+1VJB/G3grxdNQR0s6T/aYKVGyw9bsupU/7mH3dflYqL9Ez +ZSziX0I14q+mwQVi4hyr65vpWcPDcTF+o6N7gqws22IWbWFFhHSVSP/vHu13vYqPkQx 6nj/UQcDRjZTDh09G4tiIPZJhCIr+mVrQO4h9pq98reXyqb/k8rFWuxP+GUqs5KI4ltQ Xdit5bbJN07GlOdxfWfXobpXdkmjtXncxP8xn/bcFd6AkY76wlHH3+xf6d7EJba0osG6 c4jA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=3RMQYdOqeR3+eO75afvnmf/H8X8JJd6uw181SeG4uz4=; b=DRfiyEV7Omp109e+5YTv6WJ2JCsQn51inw0cyt7Sq8VnTYKxPR0Q09TRLhCY9O8OAk fIpz+CVxtwtB081U0tWeM/luGCzHj6/56aZc+P+75AZs3z3ISKgPOc6IoelMPn6lDOfF F22imBRC47PlqyVdpntKuSovE/4UjCKBt7JHp5P7ly1CKjLFNkGoxaYRKxjV2Zmoi9nq sEXbjIMZHZ3ZnpYPU08KAHHEaOtcpcz8gjvY6ZVdFCB9V+ylgXkMT26zJkOPdRHICn48 n3sbUq5USAfhS0hJmDb8e0JlfyFbl0sTMyOfHTBMhDEaiVptfo/PJT9UQqNmg74LFPso u1Rw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=oHTpKkcZ; 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 b13-v6si6846763plk.189.2018.01.28.01.29.44; Sun, 28 Jan 2018 01:29:58 -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=fail header.i=@gmail.com header.s=20161025 header.b=oHTpKkcZ; 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 S1751398AbeA1J3V (ORCPT + 99 others); Sun, 28 Jan 2018 04:29:21 -0500 Received: from mail-wm0-f65.google.com ([74.125.82.65]:35454 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751212AbeA1J3S (ORCPT ); Sun, 28 Jan 2018 04:29:18 -0500 Received: by mail-wm0-f65.google.com with SMTP id r78so28314908wme.0; Sun, 28 Jan 2018 01:29:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=3RMQYdOqeR3+eO75afvnmf/H8X8JJd6uw181SeG4uz4=; b=oHTpKkcZcCpRb/1q+PUHIhLjvKQyN3KJpOg0QSQ33UXRB1GEZuOg31Aa9LeNTkSMxH h5Trnpx4eSmk+lyoRJmmxsBYk0LBs9KUjiuLGyEdTzL/3xBPc6F+CDlm5zaynyklO/zM 7wjwxUEvGn1VvFKSCyDT8V0Z/5oR8/ulvsXOEDPODKCmD4xOZMZTplIoUr6c7hvvIcp/ uIz7izl30Hni/w+rFXbGZpT5a+pEy3jZsrmAiHkYMKFBechJ/Bqu83S5HyFjMvnkg7S7 b0KuXX88QHa0gquZ9FaL8Eot1Q1Ac+M8XgPG8I/2U4IvTmax7eMxityQjbKs6XWLtBjB cMLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=3RMQYdOqeR3+eO75afvnmf/H8X8JJd6uw181SeG4uz4=; b=DffeQT6v8uwZrgkVeaiMzvv52ngWBpRzc34nSq8i6efzP5vHwSKEBCPJ3o8lSvoShA r7BHwa4TZT3dKxb3K3i/Iev779SDhVJKngH0Po6YSAjqlD0MN9O4bqAY1vSiKHoNgxfW HPGHjm8UCOmgrFZozPQ0to5KuJjSfBw2UtAYNsznt5V1c/ubffUcNrL/M37+VU4QkrRo YQ1ev8LB5nGydJESHEgt1bE/C3vD4cUoHvThTFkUAL0HVaWgzfb+nRbAkWQBexg7EcAS Nl7+HAXVp1feQzyWwVWTpaym47UBlDulDGL0VLYSKSWDVHae84Ipk5ZauDQ/MJfXSr2t SHqw== X-Gm-Message-State: AKwxytcJlYQUiWbiQSwICgO5OXUJ3SUH6g3KcSEvyxXSEpjh/laOff2j j+57llt+qI6peVP9MVTCu10= X-Received: by 10.28.87.20 with SMTP id l20mr14220121wmb.48.1517131757176; Sun, 28 Jan 2018 01:29:17 -0800 (PST) Received: from gmail.com (2E8B0CD5.catv.pool.telekom.hu. [46.139.12.213]) by smtp.gmail.com with ESMTPSA id 14sm1516990wry.95.2018.01.28.01.29.15 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 28 Jan 2018 01:29:16 -0800 (PST) Date: Sun, 28 Jan 2018 10:29:14 +0100 From: Ingo Molnar To: Dan Williams Cc: tglx@linutronix.de, linux-arch@vger.kernel.org, kernel-hardening@lists.openwall.com, gregkh@linuxfoundation.org, x86@kernel.org, Ingo Molnar , Andy Lutomirski , "H. Peter Anvin" , torvalds@linux-foundation.org, alan@linux.intel.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH v5 07/12] x86: remove the syscall_64 fast-path Message-ID: <20180128092914.dabnzq7arv4bebhn@gmail.com> References: <151703971300.26578.1185595719337719486.stgit@dwillia2-desk3.amr.corp.intel.com> <151703975137.26578.11230688940391207602.stgit@dwillia2-desk3.amr.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <151703975137.26578.11230688940391207602.stgit@dwillia2-desk3.amr.corp.intel.com> User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Dan Williams wrote: > Quoting Linus: > > "Honestly, I'd rather get rid of the fast-path entirely. Compared to > all the PTI mess, it's not even noticeable. > > And if we ever get CPU's that have this all fixed, we can re-visit > introducing the fastpath. But this is all very messy and it doesn't > seem worth it right now. > > If we get rid of the fastpath, we can lay out the slow path slightly > better, and get rid of some of those jump-overs. And we'd get rid of > the ptregs hooks entirely. > > So we can try to make the "slow" path better while at it, but I > really don't think it matters much now in the post-PTI era. Sadly." Please fix the title to have the proper prefix and to reference the function that is actually modified by the patch, i.e. something like: s/ x86: remove the syscall_64 fast-path / x86/entry/64: Remove the entry_SYSCALL_64() fast-path With the title fixed: Reviewed-by: Ingo Molnar Thanks, Ingo