Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751758AbbESB6G (ORCPT ); Mon, 18 May 2015 21:58:06 -0400 Received: from mail-ie0-f177.google.com ([209.85.223.177]:33435 "EHLO mail-ie0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750846AbbESB6C (ORCPT ); Mon, 18 May 2015 21:58:02 -0400 MIME-Version: 1.0 In-Reply-To: References: <1431613188-4511-1-git-send-email-anisse@astier.eu> <1431613188-4511-3-git-send-email-anisse@astier.eu> <20150518112152.GA16999@amd> <20150518130213.GA771@amd> Date: Tue, 19 May 2015 09:58:01 +0800 Message-ID: Subject: Re: [PATCH v4 2/3] mm/page_alloc.c: add config option to sanitize freed pages From: yalin wang To: Anisse Astier Cc: Pavel Machek , Andrew Morton , Mel Gorman , "Kirill A. Shutemov" , David Rientjes , Alan Cox , Linus Torvalds , Peter Zijlstra , PaX Team , Brad Spengler , Kees Cook , Andi Kleen , "Rafael J. Wysocki" , Len Brown , linux-mm@kvack.org, Linux PM list , Linux Kernel Mailing List Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1017 Lines: 24 2015-05-18 21:04 GMT+08:00 Anisse Astier : > On Mon, May 18, 2015 at 3:02 PM, Pavel Machek wrote: >> >> Ok. So there is class of errors where this helps, but you are not >> aware of any such errors in kernel, so you can't fix them... Right? > > Correct. > -- > 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/ i feel your patch is the same as CONFIG_DEBUG_PAGEALLOC , the difference is that CONFIG_DEBUG_PAGEALLOC will clear page to a magic number, while your patch will clear to zero, do we really need this duplicated function ? Thanks -- 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/