From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753807AbbIZT6A (ORCPT ); Sat, 26 Sep 2015 15:58:00 -0400 Received: from mail-wi0-f173.google.com ([209.85.212.173]:36414 "EHLO mail-wi0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753418AbbIZT55 (ORCPT ); Sat, 26 Sep 2015 15:57:57 -0400 Date: Sat, 26 Sep 2015 20:57:55 +0100 From: Matt Fleming To: "H. Peter Anvin" Cc: Ard Biesheuvel , Andy Lutomirski , Ingo Molnar , Thomas Gleixner , Matt Fleming , "linux-kernel@vger.kernel.org" , "linux-efi@vger.kernel.org" , "Lee, Chun-Yi" , Borislav Petkov , Leif Lindholm , Peter Jones , James Bottomley , Matthew Garrett , Dave Young , stable , Linus Torvalds , Borislav Petkov , Andy Lutomirski , Denys Vlasenko , Brian Gerst , Andrew Morton Subject: Re: [PATCH 1/2] x86/efi: Map EFI memmap entries in-order at runtime Message-ID: <20150926195755.GC3144@codeblueprint.co.uk> References: <1443218539-7610-1-git-send-email-matt@codeblueprint.co.uk> <1443218539-7610-2-git-send-email-matt@codeblueprint.co.uk> <20150926055643.GA25877@gmail.com> <0568D1D7-B6AA-437C-ADCE-A86D7A2E4722@zytor.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0568D1D7-B6AA-437C-ADCE-A86D7A2E4722@zytor.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 26 Sep, at 12:49:26PM, H. Peter Anvin wrote: > > It is still a hack unless all relative offsets are preserved. That > is actually simpler, even: no sorting necessary. Unless I'm missing something, preserving relative offsets is exactly what we do today, modulo PMD_SIZE gaps. -- Matt Fleming, Intel Open Source Technology Center