From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756409AbbKDT0O (ORCPT ); Wed, 4 Nov 2015 14:26:14 -0500 Received: from mail-ig0-f170.google.com ([209.85.213.170]:37670 "EHLO mail-ig0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751522AbbKDT0M (ORCPT ); Wed, 4 Nov 2015 14:26:12 -0500 MIME-Version: 1.0 In-Reply-To: <20151103111649.GA3477@gmail.com> References: <20151103111649.GA3477@gmail.com> Date: Wed, 4 Nov 2015 11:26:12 -0800 X-Google-Sender-Auth: dGGcfgsOb6fHFtPC43KArYh98vM Message-ID: Subject: Re: [GIT PULL] x86/mm changes for v4.4 From: Linus Torvalds To: Ingo Molnar Cc: Linux Kernel Mailing List , Thomas Gleixner , "H. Peter Anvin" , Borislav Petkov , Andrew Morton , Andy Lutomirski , Denys Vlasenko Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 3, 2015 at 3:16 AM, Ingo Molnar wrote: > > The new CONFIG_DEBUG_WX=y warning is marked default-y if CONFIG_DEBUG_RODATA=y is > already eanbled, as a special exception, as these bugs are hard to notice and this > check already found several live bugs. So this seems to be not very useful. ... Freeing unused kernel memory: 1068K (ffffffff8bcc0000 - ffffffff8bdcb000) Write protecting the kernel read-only data: 12288k Freeing unused kernel memory: 1944K (ffff88000b61a000 - ffff88000b800000) Freeing unused kernel memory: 1372K (ffff88000baa9000 - ffff88000bc00000) ------------[ cut here ]------------ WARNING: CPU: 7 PID: 1 at arch/x86/mm/dump_pagetables.c:225 note_page+0x5dc/0x780() x86/mm: Found insecure W+X mapping at address ffff88000005f000/0xffff88000005f000 ... x86/mm: Checked W+X mappings: FAILED, 165660 W+X pages found. ... because it doesn't seem to give you any idea where to look for the issue. Those 165660 pages come out to 647MB. Odd number. Is this *supposed* to come out clean? Linus