Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754408Ab0DLX70 (ORCPT ); Mon, 12 Apr 2010 19:59:26 -0400 Received: from f0.cmpxchg.org ([85.214.51.133]:49975 "EHLO cmpxchg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754322Ab0DLX7Z (ORCPT ); Mon, 12 Apr 2010 19:59:25 -0400 Date: Tue, 13 Apr 2010 01:59:14 +0200 From: Johannes Weiner To: Linus Torvalds Cc: Borislav Petkov , Rik van Riel , KOSAKI Motohiro , Andrew Morton , Minchan Kim , Linux Kernel Mailing List , Lee Schermerhorn , Nick Piggin , Andrea Arcangeli , Hugh Dickins , sgunderson@bigfoot.com Subject: Re: [PATCH 2/4] vma_adjust: fix the copying of anon_vma chains Message-ID: <20100412235914.GB20163@cmpxchg.org> References: <20100412072056.GA2432@liondog.tnic> <4BC36916.3080005@redhat.com> <20100412190002.GA8595@a1.tnic> 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 Content-Length: 969 Lines: 23 On Mon, Apr 12, 2010 at 01:23:04PM -0700, Linus Torvalds wrote: > > From: Linus Torvalds > Date: Sat, 10 Apr 2010 15:22:30 -0700 > Subject: [PATCH 2/4] vma_adjust: fix the copying of anon_vma chains > > When we move the boundaries between two vma's due to things like > mprotect, we need to make sure that the anon_vma of the pages that got > moved from one vma to another gets properly copied around. And that was > not always the case, in this rather hard-to-follow code sequence. > > Clarify the code, and fix it so that it copies the anon_vma from the > right source. > > Signed-off-by: Linus Torvalds Acked-by: Johannes Weiner -- 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/