From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pl0-f69.google.com (mail-pl0-f69.google.com [209.85.160.69]) by kanga.kvack.org (Postfix) with ESMTP id AD0166B0277 for ; Fri, 13 Jul 2018 19:19:03 -0400 (EDT) Received: by mail-pl0-f69.google.com with SMTP id t19-v6so20608295plo.9 for ; Fri, 13 Jul 2018 16:19:03 -0700 (PDT) Received: from mail.kernel.org (mail.kernel.org. [198.145.29.99]) by mx.google.com with ESMTPS id t62-v6si17302739pgd.485.2018.07.13.16.19.02 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 13 Jul 2018 16:19:02 -0700 (PDT) Received: from mail-wr1-f51.google.com (mail-wr1-f51.google.com [209.85.221.51]) (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 130FD208B4 for ; Fri, 13 Jul 2018 23:19:02 +0000 (UTC) Received: by mail-wr1-f51.google.com with SMTP id a3-v6so17312866wrt.2 for ; Fri, 13 Jul 2018 16:19:02 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <1531308586-29340-36-git-send-email-joro@8bytes.org> References: <1531308586-29340-1-git-send-email-joro@8bytes.org> <1531308586-29340-36-git-send-email-joro@8bytes.org> From: Andy Lutomirski Date: Fri, 13 Jul 2018 16:18:40 -0700 Message-ID: Subject: Re: [PATCH 35/39] x86/ldt: Split out sanity check in map_ldt_struct() Content-Type: text/plain; charset="UTF-8" Sender: owner-linux-mm@kvack.org List-ID: To: Joerg Roedel Cc: Thomas Gleixner , Ingo Molnar , "H . Peter Anvin" , X86 ML , LKML , Linux-MM , Linus Torvalds , Andy Lutomirski , Dave Hansen , Josh Poimboeuf , Juergen Gross , Peter Zijlstra , Borislav Petkov , Jiri Kosina , Boris Ostrovsky , Brian Gerst , David Laight , Denys Vlasenko , Eduardo Valentin , Greg KH , Will Deacon , "Liguori, Anthony" , Daniel Gruss , Hugh Dickins , Kees Cook , Andrea Arcangeli , Waiman Long , Pavel Machek , "David H . Gutteridge" , Joerg Roedel On Wed, Jul 11, 2018 at 4:29 AM, Joerg Roedel wrote: > From: Joerg Roedel > > This splits out the mapping sanity check and the actual > mapping of the LDT to user-space from the map_ldt_struct() > function in a way so that it is re-usable for PAE paging. > Reviewed-by: Andy Lutomirski