From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754894Ab1CNPZf (ORCPT ); Mon, 14 Mar 2011 11:25:35 -0400 Received: from mail-iy0-f174.google.com ([209.85.210.174]:33393 "EHLO mail-iy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753500Ab1CNPZd (ORCPT ); Mon, 14 Mar 2011 11:25:33 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=kN7qsQeB+fWbHRnQKXmQp7G0sendUbg6RFf6nTuKzOjfBnJeHZRjPquza1VAjtcHBZ xDh4CX0hIAoCEW9K1vO+ukaSbQBYprb0BsVML4LrnIJMyjVflkqHbdJkP4dApSfByxLH EWn7atJZqxaPUzMwqt7zgdWUJeRA+JdLt288Y= MIME-Version: 1.0 In-Reply-To: References: Date: Tue, 15 Mar 2011 00:25:32 +0900 Message-ID: Subject: Re: [PATCH] thp+memcg-numa: fix BUG at include/linux/mm.h:370! From: Minchan Kim To: Hugh Dickins Cc: Linus Torvalds , Andrea Arcangeli , Andrew Morton , David Rientjes , linux-kernel@vger.kernel.org, linux-mm@kvack.org 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 Mon, Mar 14, 2011 at 5:08 PM, Hugh Dickins wrote: > THP's collapse_huge_page() has an understandable but ugly difference > in when its huge page is allocated: inside if NUMA but outside if not. > It's hardly surprising that the memcg failure path forgot that, freeing > the page in the non-NUMA case, then hitting a VM_BUG_ON in get_page() > (or even worse, using the freed page). > > Signed-off-by: Hugh Dickins Reviewed-by: Minchan Kim Thanks, Hugh. -- Kind regards, Minchan Kim