Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754112Ab0DLU40 (ORCPT ); Mon, 12 Apr 2010 16:56:26 -0400 Received: from mx1.redhat.com ([209.132.183.28]:62756 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754092Ab0DLU4Y (ORCPT ); Mon, 12 Apr 2010 16:56:24 -0400 Message-ID: <4BC38894.70109@redhat.com> Date: Mon, 12 Apr 2010 16:54:44 -0400 From: Rik van Riel User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.7) Gecko/20100120 Fedora/3.0.1-1.fc12 Lightning/1.0b2pre Thunderbird/3.0.1 MIME-Version: 1.0 To: Linus Torvalds CC: Borislav Petkov , Johannes Weiner , 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 References: <20100411130801.GA7189@a1.tnic> <20100411185508.GA4450@liondog.tnic> <20100412072056.GA2432@liondog.tnic> <4BC36916.3080005@redhat.com> <20100412190002.GA8595@a1.tnic> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 942 Lines: 23 On 04/12/2010 04:23 PM, 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 Reviewed-by: Rik van Riel -- 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/