From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail6.bemta7.messagelabs.com (mail6.bemta7.messagelabs.com [216.82.255.55]) by kanga.kvack.org (Postfix) with ESMTP id D13C46B006C for ; Mon, 21 Nov 2011 03:12:22 -0500 (EST) Date: Mon, 21 Nov 2011 09:12:11 +0100 From: Johannes Weiner Subject: Re: [PATCH] hugetlb: release pages in the error path of hugetlb_cow() Message-ID: <20111121081152.GA1771@redhat.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: owner-linux-mm@kvack.org List-ID: To: Hillf Danton Cc: Andrew Morton , Andrea Arcangeli , Hugh Dickins , LKML , linux-mm@kvack.org On Fri, Nov 11, 2011 at 09:01:20PM +0800, Hillf Danton wrote: > If fail to prepare anon_vma, {new, old}_page should be released, or they will > escape the track and/or control of memory management. > > Thanks > > Signed-off-by: Hillf Danton Acked-by: Johannes Weiner -- 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755484Ab1KUIMZ (ORCPT ); Mon, 21 Nov 2011 03:12:25 -0500 Received: from mx1.redhat.com ([209.132.183.28]:22290 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754850Ab1KUIMX (ORCPT ); Mon, 21 Nov 2011 03:12:23 -0500 Date: Mon, 21 Nov 2011 09:12:11 +0100 From: Johannes Weiner To: Hillf Danton Cc: Andrew Morton , Andrea Arcangeli , Hugh Dickins , LKML , linux-mm@kvack.org Subject: Re: [PATCH] hugetlb: release pages in the error path of hugetlb_cow() Message-ID: <20111121081152.GA1771@redhat.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Nov 11, 2011 at 09:01:20PM +0800, Hillf Danton wrote: > If fail to prepare anon_vma, {new, old}_page should be released, or they will > escape the track and/or control of memory management. > > Thanks > > Signed-off-by: Hillf Danton Acked-by: Johannes Weiner