From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752362AbdLDWda (ORCPT ); Mon, 4 Dec 2017 17:33:30 -0500 Received: from mail.kernel.org ([198.145.29.99]:41434 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752189AbdLDWd2 (ORCPT ); Mon, 4 Dec 2017 17:33:28 -0500 DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C0473219B2 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=luto@kernel.org X-Google-Smtp-Source: AGs4zMZGMFiioOfqRRI/vC6Fc1bebFOT850vz26uXfTHOpNPjYwYLww4eWYO6YdRiTLInvXASCaHCz1VaLGUazG+2wY= MIME-Version: 1.0 In-Reply-To: <20171204150608.674502245@linutronix.de> References: <20171204140706.296109558@linutronix.de> <20171204150608.674502245@linutronix.de> From: Andy Lutomirski Date: Mon, 4 Dec 2017 14:33:06 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [patch 47/60] x86/ldt: Map LDT entries into fixmap 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 , Rik van Riel , Boris Ostrovsky , Juergen Gross , David Laight , Eduardo Valentin , aliguori@amazon.com, Will Deacon , Daniel Gruss Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Dec 4, 2017 at 6:07 AM, Thomas Gleixner wrote: > From: Thomas Gleixner > > LDT is not really commonly used on 64bit so the overhead of populating the > fixmap entries on context switch for the rare LDT syscall users is a > reasonable trade off vs. having extra dynamically managed mapping space per > process. > Hmm, I wonder just how slow this is. It might be okay. It's certainly not the way I imagined it working. --Andy