From: Andrey Ryabinin Subject: Re: KASAN vs. boot-time switching between 4- and 5-level paging Date: Mon, 24 Jul 2017 17:07:08 +0300 Message-ID: References: <20170711170332.wlaudicepkg35dmm@node.shutemov.name> <20170711190554.zxkpjeg2bt65wtir@black.fi.intel.com> <20939b37-efd8-2d32-0040-3682fff927c2@virtuozzo.com> <20170713135228.vhvpe7mqdcqzpslw@node.shutemov.name> <20170713141528.rwuz5n2p57omq6wi@node.shutemov.name> <20170724121331.k3fl4xjrsmznqk2t@node.shutemov.name> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: Received: from mail-ve1eur01on0134.outbound.protection.outlook.com ([104.47.1.134]:48576 "EHLO EUR01-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752853AbdGXOEr (ORCPT ); Mon, 24 Jul 2017 10:04:47 -0400 In-Reply-To: <20170724121331.k3fl4xjrsmznqk2t@node.shutemov.name> Content-Language: en-US Sender: linux-arch-owner@vger.kernel.org List-ID: To: "Kirill A. Shutemov" Cc: "Kirill A. Shutemov" , Andy Lutomirski , Dmitry Vyukov , Alexander Potapenko , Linus Torvalds , Andrew Morton , "x86@kernel.org" , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Andi Kleen , Dave Hansen , linux-arch , "linux-mm@kvack.org" , LKML , kasan-dev On 07/24/2017 03:13 PM, Kirill A. Shutemov wrote: > On Thu, Jul 13, 2017 at 05:19:22PM +0300, Andrey Ryabinin wrote: >>>> https://git.kernel.org/pub/scm/linux/kernel/git/kas/linux.git/commit/?h=la57/boot-switching/v2&id=13327fec85ffe95d9c8a3f57ba174bf5d5c1fb01 >>>> >>>>> As for KASAN, I think it would be better just to make it work faster, >>>>> the patch below demonstrates the idea. >>>> >>>> Okay, let me test this. >>> >>> The patch works for me. >>> >>> The problem is not exclusive to 5-level paging, so could you prepare and >>> push proper patch upstream? >>> >> >> Sure, will do > > Andrey, any follow up on this? > Sorry, I've been busy a bit. Will send patch shortly