From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail6.bemta12.messagelabs.com (mail6.bemta12.messagelabs.com [216.82.250.247]) by kanga.kvack.org (Postfix) with ESMTP id DAD326B0082 for ; Tue, 7 Jun 2011 11:12:58 -0400 (EDT) Received: by pzk4 with SMTP id 4so3183946pzk.14 for ; Tue, 07 Jun 2011 08:12:50 -0700 (PDT) Date: Wed, 8 Jun 2011 00:12:42 +0900 From: Minchan Kim Subject: Re: [PATCH 2/4] mm: vmscan: Do not use page_count without a page pin Message-ID: <20110607151242.GI1686@barrios-laptop> References: <1307459225-4481-1-git-send-email-mgorman@suse.de> <1307459225-4481-3-git-send-email-mgorman@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1307459225-4481-3-git-send-email-mgorman@suse.de> Sender: owner-linux-mm@kvack.org List-ID: To: Mel Gorman Cc: Andrew Morton , Andrea Arcangeli , Thomas Sattler , Ury Stankevich , Andi Kleen , linux-mm , linux-kernel On Tue, Jun 07, 2011 at 04:07:03PM +0100, Mel Gorman wrote: > From: Andrea Arcangeli > > From: Andrea Arcangeli > > It is unsafe to run page_count during the physical pfn scan because > compound_head could trip on a dangling pointer when reading > page->first_page if the compound page is being freed by another CPU. > > [mgorman@suse.de: Split out patch] > Signed-off-by: Andrea Arcangeli > Signed-off-by: Mel Gorman Reviewed-by: Minchan Kim -- Kind regards Minchan Kim -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: email@kvack.org