Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161469AbbKFPAf (ORCPT ); Fri, 6 Nov 2015 10:00:35 -0500 Received: from mx1.redhat.com ([209.132.183.28]:44717 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751312AbbKFPAe (ORCPT ); Fri, 6 Nov 2015 10:00:34 -0500 Subject: Re: [PATCH] x86/setup: fix low identity map for >= 2GB kernel range To: Krzysztof Mazur , Borislav Petkov References: <1446815916-22105-1-git-send-email-krzysiek@podlesie.net> <20151106132733.GC19522@pd.tnic> <20151106141139.GA2233@shrek.podlesie.net> Cc: x86@kernel.org, linux-kernel@vger.kernel.org, Andrew Morton , Andy Lutomirski , "H. Peter Anvin" , Ingo Molnar , Laszlo Ersek , Matt Fleming , Thomas Gleixner From: Paolo Bonzini Message-ID: <563CC08A.6080607@redhat.com> Date: Fri, 6 Nov 2015 16:00:26 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <20151106141139.GA2233@shrek.podlesie.net> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 707 Lines: 22 On 06/11/2015 15:11, Krzysztof Mazur wrote: >> > >> > http://git.kernel.org/tip/1c5dac914794f0170e1582d8ffdee52d30e0e4dd >> > > Thanks and sorry. Yes, it has been already fixed. I've rechecked only > mainline. > > However, I think that there should be > min(KERNEL_PGD_PTRS, KERNEL_PGD_BOUNDARY), not just KERNEL_PGD_BOUNDARY > (usually 768 for normal 1G/3G split), because swapper_pg_dir has only > 1024 entries and 768+768 is 1536. You are right. Paolo -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/