Received: by 10.223.185.116 with SMTP id b49csp496045wrg; Sat, 3 Mar 2018 00:58:00 -0800 (PST) X-Google-Smtp-Source: AG47ELs9vIUcurSfPulEPO+2wBRdofcIoWcPfyuu7q++LsXwraH7nhtqyePK2c1+yAnLedLsoxp/ X-Received: by 2002:a17:902:7445:: with SMTP id e5-v6mr7676003plt.204.1520067480619; Sat, 03 Mar 2018 00:58:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520067480; cv=none; d=google.com; s=arc-20160816; b=ogigoTi9CT2Ke/pCcvkcDEt3msNu0wclvCPqvCzwY9NF8GbNoNLP5CNT9EGUPDQuvr WGumPzPuDz8WMvg6f3Hz5DyC6sW5XWAhHtIKIglW2J2Lo0HOo/S4ZxlnFZPByRvR0VTF Pj0oioAmaiwkfMtW0j6r7PsRCd1OY1fIywYbTr9QdPtDYDC/Xbm4NZmai/4+Pm3PXyNc l5mQkliitf+/DqGfV8GEMBiEIMcogHc7JbkP9huxLDEAmwXBsuL1JrnpVTV9R3HKbLK/ baUoBu/vL69W8Qih7vIib7vxT0EHRFzxnvdonwf+jh2NDZdw83pC6d1YHRALdE6mAIFb l8tQ== 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:arc-authentication-results; bh=BcML0Gg+sQ5DQJ53JLEkr+vM9d0mR1FySzCU6/4ss78=; b=cl8Ok3l0Z6WofAN6Kwz/bBoyt83pgFvuUfKn9jBmPaKCuMp1FYpUGodlsdQtLEqaV3 eiydmomi/SKeXL/bmLJ6PS2hE8CEnZ8gmkhazHaaCIkJz9x98DuRK/NREFRa6+4j2Wxk i1mgA5UI4QFD7nAId8FA+OmYPxSuZrVgO9lSMXHdqwDmRMecsX1AysspI1kWq1f68NUn cVKaxjIM+I6KOJji/sVj/QwQQ/uPbYNyvFQqOkdOpw4bMdv1Ojj2c1Tj2mp2KjVwIrqB 5fCgdGywSQUQJH9+alyiq2b5tWbBgW1bWWGWQzc9rFqdRhU+KVu8ybPXxSVK+Mkbu8DO vaIw== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m3-v6si6169997plb.480.2018.03.03.00.57.04; Sat, 03 Mar 2018 00:58:00 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751847AbeCCIy7 (ORCPT + 99 others); Sat, 3 Mar 2018 03:54:59 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:34468 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751566AbeCCIy6 (ORCPT ); Sat, 3 Mar 2018 03:54:58 -0500 Received: from localhost (mobile-107-107-187-56.mycingular.net [107.107.187.56]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 4646F1317; Sat, 3 Mar 2018 08:54:57 +0000 (UTC) Date: Sat, 3 Mar 2018 09:54:54 +0100 From: Greg Kroah-Hartman To: Tim Chen Cc: stable@vger.kernel.org, Andy Lutomirski , Nadav Amit , Thomas Gleixner , Andrew Morton , Arjan van de Ven , Borislav Petkov , Dave Hansen , Linus Torvalds , Mel Gorman , Peter Zijlstra , Rik van Riel , Ingo Molnar , David Woodhouse , ak@linux.intel.com, karahmed@amazon.de, pbonzini@redhat.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/2] Backport IBPB on context switch to non-dumpable process Message-ID: <20180303085454.GA23988@kroah.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.3 (2018-01-21) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 02, 2018 at 01:32:08PM -0800, Tim Chen wrote: > Greg, > > I will like to propose backporting "x86/speculation: Use Indirect Branch > Prediction Barrier on context switch" from commit 18bf3c3e in upstream > to 4.9 and 4.4 stable. The patch has already been ported to 4.14 and > 4.15 stable. The patch needs mm context id that Andy added in commit > f39681ed. I have lifted the mm context id change from Andy's upstream > patch and included it here. What does this patch "fix" in those older kernels? Is this a performance improvement or something else? thanks, greg k-h