From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752469AbdHNOaL (ORCPT ); Mon, 14 Aug 2017 10:30:11 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:38727 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751459AbdHNOaK (ORCPT ); Mon, 14 Aug 2017 10:30:10 -0400 Date: Mon, 14 Aug 2017 17:30:07 +0300 From: "Kirill A. Shutemov" To: Ingo Molnar Cc: "Kirill A. Shutemov" , Linus Torvalds , Andrew Morton , x86@kernel.org, Thomas Gleixner , "H. Peter Anvin" , Andi Kleen , Dave Hansen , Andy Lutomirski , Michal Hocko , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCHv4 00/14] Boot-time switching between 4- and 5-level paging Message-ID: <20170814143007.oowwgfkhrppa25hk@node.shutemov.name> References: <20170808125415.78842-1-kirill.shutemov@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170808125415.78842-1-kirill.shutemov@linux.intel.com> User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 08, 2017 at 03:54:01PM +0300, Kirill A. Shutemov wrote: > The basic idea is to implement the same logic as pgtable-nop4d.h provides, > but at runtime. > > Runtime folding is only implemented for CONFIG_X86_5LEVEL=y case. With the > option disabled, we do compile-time folding as before.. > > Initially, I tried to fold pgd instread. I've got to shell, but it > required a lot of hacks as kernel threats pgd in a special way. > > Please review and consider applying. Ingo, any feedback on this? -- Kirill A. Shutemov