Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp129678imu; Thu, 3 Jan 2019 15:41:12 -0800 (PST) X-Google-Smtp-Source: ALg8bN48dg+qZts9MOdB5AViaQ8pu8TFvGXao3jaL/GYTa2Z34IuBXH8DU3LdYu6ZUe7p4VJLFkH X-Received: by 2002:a63:c64f:: with SMTP id x15mr18253052pgg.16.1546558872327; Thu, 03 Jan 2019 15:41:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546558872; cv=none; d=google.com; s=arc-20160816; b=OSYC+KU0qDJ6ZZdObxaTYphPUIhHdGrki5TseoeCqHJP7tWZz0Bb9DrjUsrxlFvupG CxUeVtIEcUE2DPL4nQaLFHlgSLIR/lNG744V/O+9YC66tvQnwokKeYw0o/qiMQ0KglYg 25/Ifdu7fUgWyOScOb+7s+Dk9wIYFCJoM+9QqkN4NUAeEkfLEm+5B0PDhNSVRs+v2Ony rAWsbQJv7rCE0dsIbK8JHmO1jWSEYvX8W3PPYmKgf7PIXqmp79zL8gEiAEaeKFLz3OhQ aspbytLubHkRoLjtbcOgpbIjsHDCN6LqMIJaJZLLytvviOQKsqfxiBc66k/f9TSZ+Aw0 ePPw== 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-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=w1YSLX59np7a7z31dVowvR/eBAdXNEFP/SJfXxASNKA=; b=LlIx3eQLYgDgGw/w5aPvf9J2dijGX8zLapmg/7nzzKgvIMb05eDyhpnUBo8sN1NWn0 jeIU23aLGWLAInKHX7OkPMXy8ro4yQ4Zfw0DWDHr9awVvKX02GHbgv/pX0V8efUwv4O8 GzSIuq00D92ubPb351FRXWFY1GSI/t8/C9kSkb4fVsW0/gAA/4OFKx1e+pun96TOrKz1 gKj83WAbK6dhdhgGv1K8gCa2BtF7vvfWyBv+TMYAz0dVwvTNf5n2hMbZFfSOFJAmivpq ZwJABHehSVj1esHM4lsJEGnYk/UhTYi9sXO2NK4Rk/9gJNuwkECQFNwhtconJ5qwSvjF NZSg== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w61si52208729plb.309.2019.01.03.15.40.57; Thu, 03 Jan 2019 15:41:12 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732677AbfACSLK (ORCPT + 99 others); Thu, 3 Jan 2019 13:11:10 -0500 Received: from mx1.redhat.com ([209.132.183.28]:53138 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727107AbfACSLK (ORCPT ); Thu, 3 Jan 2019 13:11:10 -0500 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 59F434025D; Thu, 3 Jan 2019 18:11:09 +0000 (UTC) Received: from treble (ovpn-123-154.rdu2.redhat.com [10.10.123.154]) by smtp.corp.redhat.com (Postfix) with ESMTPS id AF62D277B9; Thu, 3 Jan 2019 18:10:59 +0000 (UTC) Date: Thu, 3 Jan 2019 12:10:57 -0600 From: Josh Poimboeuf To: Nadav Amit Cc: Andy Lutomirski , Ingo Molnar , Peter Zijlstra , Edward Cree , "H . Peter Anvin" , Thomas Gleixner , LKML , X86 ML , Paolo Abeni , Borislav Petkov , David Woodhouse Subject: Re: [RFC v2 0/6] x86: dynamic indirect branch promotion Message-ID: <20190103181057.lflra4lkoaeg2btv@treble> References: <20181231072112.21051-1-namit@vmware.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: NeoMutt/20180716 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Thu, 03 Jan 2019 18:11:09 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Dec 31, 2018 at 07:53:06PM +0000, Nadav Amit wrote: > > On Dec 31, 2018, at 11:51 AM, Andy Lutomirski wrote: > > > > On Sun, Dec 30, 2018 at 11:20 PM Nadav Amit wrote: > >> This is a revised version of optpolines (formerly named retpolines) for > >> dynamic indirect branch promotion in order to reduce retpoline overheads > >> [1]. > > > > Some of your changelogs still call them "relpolines". > > > > I have a crazy suggestion: maybe don't give them a cute name at all? > > Where it's actually necessary to name them (like in a config option), > > use a description like CONFIG_DYNAMIC_DEVIRTUALIZATION or > > CONFIG_PATCH_INDIRECT_CALLS or something. Cute or not, naming is important. If you want a description instead of a name, it will be a challenge to describe it in 2-3 words. I have no idea what "dynamic devirtualization" means. "Patch indirect calls" doesn't fully describe it either (and could be easily confused with static calls and some other approaches). > I’m totally fine with that (don’t turn me into a "marketing” guy). It was > just a way to refer to the mechanism. I need more feedback about the more > fundamental issues to go on. Naming isn't marketing. It's a real issue: it affects both usability and code readability. -- Josh