From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pl0-f72.google.com (mail-pl0-f72.google.com [209.85.160.72]) by kanga.kvack.org (Postfix) with ESMTP id CC0486B0007 for ; Thu, 8 Mar 2018 13:23:23 -0500 (EST) Received: by mail-pl0-f72.google.com with SMTP id h61-v6so3164475pld.3 for ; Thu, 08 Mar 2018 10:23:23 -0800 (PST) Received: from mga18.intel.com (mga18.intel.com. [134.134.136.126]) by mx.google.com with ESMTPS id s61-v6si15043750plb.381.2018.03.08.10.23.22 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 08 Mar 2018 10:23:22 -0800 (PST) Subject: Re: [PATCH 1/2] x86/mm: Give each mm a unique ID References: <3351ba53a3b570ba08f2a0f5a59d01b7d80a8955.1520026221.git.tim.c.chen@linux.intel.com> <20180307173036.GJ7097@kroah.com> From: Tim Chen Message-ID: <9b0d1195-23bd-5bf9-0dd8-b2ca29165bbb@linux.intel.com> Date: Thu, 8 Mar 2018 10:23:21 -0800 MIME-Version: 1.0 In-Reply-To: <20180307173036.GJ7097@kroah.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Greg Kroah-Hartman 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 On 03/07/2018 09:30 AM, Greg Kroah-Hartman wrote: > On Fri, Mar 02, 2018 at 01:32:09PM -0800, Tim Chen wrote: >> From: Andy Lutomirski >> commit: f39681ed0f48498b80455095376f11535feea332 >> >> This adds a new variable to mmu_context_t: ctx_id. >> ctx_id uniquely identifies the mm_struct and will never be reused. >> >> Signed-off-by: Andy Lutomirski >> Reviewed-by: Nadav Amit >> Reviewed-by: Thomas Gleixner >> Cc: Andrew Morton >> Cc: Arjan van de Ven >> Cc: Borislav Petkov >> Cc: Dave Hansen >> Cc: Linus Torvalds >> Cc: Mel Gorman >> Cc: Peter Zijlstra >> Cc: Rik van Riel >> Cc: linux-mm@kvack.org >> Link: http://lkml.kernel.org/r/413a91c24dab3ed0caa5f4e4d017d87b0857f920.1498751203.git.luto@kernel.org >> Signed-off-by: Ingo Molnar >> Signed-off-by: Tim Chen >> --- >> arch/x86/include/asm/mmu.h | 15 +++++++++++++-- >> arch/x86/include/asm/mmu_context.h | 5 +++++ >> arch/x86/mm/tlb.c | 2 ++ >> 3 files changed, 20 insertions(+), 2 deletions(-) >> > > Does not apply to 4.4.y :( > > Can you provide a working backport for that tree? > Okay. Will do. Thanks. Tim