Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 2 Oct 2002 22:04:33 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 2 Oct 2002 22:04:33 -0400 Received: from modemcable061.219-201-24.mtl.mc.videotron.ca ([24.201.219.61]:36764 "EHLO montezuma.mastecende.com") by vger.kernel.org with ESMTP id ; Wed, 2 Oct 2002 22:04:33 -0400 Date: Wed, 2 Oct 2002 20:58:51 -0400 (EDT) From: Zwane Mwaikambo X-X-Sender: zwane@montezuma.mastecende.com To: Andrew Morton cc: Linux Kernel Subject: Re: Oops on 2.5.40, flush_tlb_mm In-Reply-To: <3D9BA086.76B60194@digeo.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1157 Lines: 43 On Wed, 2 Oct 2002, Andrew Morton wrote: > You need Hugh's patch. Was sent to Linus yesterday... Oh, thanks, sucks being in the dark like this :/ > > Patch from Hugh Dickins > > Our earlier fix for mprotect_fixup was broken - passing an > already-freed VMA to change_protection(). > > > > mm/mprotect.c | 4 +++- > 1 files changed, 3 insertions(+), 1 deletion(-) > > --- 2.5.40/mm/mprotect.c~hugh-mprotect-fix Tue Oct 1 23:43:14 2002 > +++ 2.5.40-akpm/mm/mprotect.c Tue Oct 1 23:43:14 2002 > @@ -186,8 +186,10 @@ mprotect_fixup(struct vm_area_struct *vm > /* > * Try to merge with the previous vma. > */ > - if (mprotect_attempt_merge(vma, *pprev, end, newflags)) > + if (mprotect_attempt_merge(vma, *pprev, end, newflags)) { > + vma = *pprev; > goto success; > + } > } else { > error = split_vma(mm, vma, start, 1); > if (error) > > . > -- function.linuxpower.ca - 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/