From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-f200.google.com (mail-pf0-f200.google.com [209.85.192.200]) by kanga.kvack.org (Postfix) with ESMTP id 756836B0038 for ; Tue, 12 Dec 2017 12:58:16 -0500 (EST) Received: by mail-pf0-f200.google.com with SMTP id v25so18438954pfg.14 for ; Tue, 12 Dec 2017 09:58:16 -0800 (PST) Received: from mail.kernel.org (mail.kernel.org. [198.145.29.99]) by mx.google.com with ESMTPS id g14si9433258plj.470.2017.12.12.09.58.15 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 Dec 2017 09:58:15 -0800 (PST) Received: from mail-it0-f41.google.com (mail-it0-f41.google.com [209.85.214.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id DD562204EE for ; Tue, 12 Dec 2017 17:58:14 +0000 (UTC) Received: by mail-it0-f41.google.com with SMTP id b5so506850itc.3 for ; Tue, 12 Dec 2017 09:58:14 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <20171212173334.097591438@linutronix.de> References: <20171212173221.496222173@linutronix.de> <20171212173334.097591438@linutronix.de> From: Andy Lutomirski Date: Tue, 12 Dec 2017 09:57:52 -0800 Message-ID: Subject: Re: [patch 10/16] x86/ldt: Do not install LDT for kernel threads Content-Type: text/plain; charset="UTF-8" Sender: owner-linux-mm@kvack.org List-ID: To: Thomas Gleixner Cc: LKML , X86 ML , Linus Torvalds , Andy Lutomirsky , Peter Zijlstra , Dave Hansen , Borislav Petkov , Greg KH , Kees Cook , Hugh Dickins , Brian Gerst , Josh Poimboeuf , Denys Vlasenko , Boris Ostrovsky , Juergen Gross , David Laight , Eduardo Valentin , aliguori@amazon.com, Will Deacon , "linux-mm@kvack.org" On Tue, Dec 12, 2017 at 9:32 AM, Thomas Gleixner wrote: > From: Thomas Gleixner > > Kernel threads can use the mm of a user process temporarily via use_mm(), > but there is no point in installing the LDT which is associated to that mm > for the kernel thread. > I like this one. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org