Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753432Ab0DDX4k (ORCPT ); Sun, 4 Apr 2010 19:56:40 -0400 Received: from mail-pv0-f174.google.com ([74.125.83.174]:43168 "EHLO mail-pv0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752001Ab0DDX4e (ORCPT ); Sun, 4 Apr 2010 19:56:34 -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=UFCN9UNrbT7vRF649B1wMbdAJhfymeVgNfBzWWA8qKltvRsobudP4S8N0eqRXolzw6 4qqxQiUre9DasQmbp9rAp5gbof3EUkwDLuZuDkcCBskAMCSFtU9gGN541e6Z+Zt8GuGU qhkxGAQdPZ+s2+uMtA5zAyFEkeRo8WsdISI38= MIME-Version: 1.0 In-Reply-To: <20100404190925.5daac2f3@annuminas.surriel.com> References: <20100402175937.GA19690@liondog.tnic> <20100402112428.f46ddc44.akpm@linux-foundation.org> <4BB66941.1060809@redhat.com> <1270397575.1814.106.camel@barrios-desktop> <20100404190925.5daac2f3@annuminas.surriel.com> Date: Mon, 5 Apr 2010 08:56:33 +0900 Message-ID: Subject: Re: [PATCH] rmap: fix anon_vma_fork() memory leak From: Minchan Kim To: Rik van Riel Cc: Linus Torvalds , Andrew Morton , Borislav Petkov , Linux Kernel Mailing List , KOSAKI Motohiro , Lee Schermerhorn , Nick Piggin , Andrea Arcangeli , Hugh Dickins , sgunderson@bigfoot.com 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: 648 Lines: 17 On Mon, Apr 5, 2010 at 8:09 AM, Rik van Riel wrote: > Fix a memory leak in anon_vma_fork(), where we fail to tear down the > anon_vmas attached to the new VMA in case setting up the new anon_vma > fails. > > Reported-by: Minchan Kim > Signed-off-by: Rik van Riel Reviewed-by: Minchan Kim -- Kind regards, Minchan Kim -- 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/