Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751571AbbEDWEU (ORCPT ); Mon, 4 May 2015 18:04:20 -0400 Received: from v094114.home.net.pl ([79.96.170.134]:51410 "HELO v094114.home.net.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1750770AbbEDWEL (ORCPT ); Mon, 4 May 2015 18:04:11 -0400 From: "Rafael J. Wysocki" To: pageexec@freemail.hu Cc: Anisse Astier , Andrew Morton , Mel Gorman , "Kirill A. Shutemov" , David Rientjes , Alan Cox , Linus Torvalds , Peter Zijlstra , Brad Spengler , Kees Cook , Andi Kleen , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Pavel Machek , Linux PM list Subject: Re: [PATCH v2 3/4] PM / Hibernate: fix SANITIZE_FREED_PAGES Date: Tue, 05 May 2015 00:29:10 +0200 Message-ID: <28072506.ijDyy3q5rs@vostro.rjw.lan> User-Agent: KMail/4.11.5 (Linux/4.0.0+; KDE/4.11.5; x86_64; ; ) In-Reply-To: <5547E995.9980.80084D6@pageexec.freemail.hu> References: <1430774218-5311-1-git-send-email-anisse@astier.eu> <1430774218-5311-4-git-send-email-anisse@astier.eu> <5547E995.9980.80084D6@pageexec.freemail.hu> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit 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: 1099 Lines: 26 On Monday, May 04, 2015 11:50:13 PM PaX Team wrote: > On 4 May 2015 at 23:16, Anisse Astier wrote: > > > SANITIZE_FREED_PAGES feature relies on having all pages going through > > the free_pages_prepare path in order to be cleared before being used. In > > the hibernate use case, pages will automagically appear in the system > > without being cleared. > > is this based on debugging/code reading/discussions with hibernation folks > (i see none of them on CC, added them now) or is it just a brute force attempt > to fix the symptoms? if the former, it'd be nice to share some more details > and have Acks from the code owners. I haven't seen it, for one, and I'm wondering why the "clearing" cannot be done at the swsusp_free() time? In any case, please CC hibernation-related patches and discussions thereof to linux-pm@vger.kernel.org. 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/