Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261157AbUKRUIJ (ORCPT ); Thu, 18 Nov 2004 15:08:09 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261158AbUKRUIC (ORCPT ); Thu, 18 Nov 2004 15:08:02 -0500 Received: from fw.osdl.org ([65.172.181.6]:19604 "EHLO mail.osdl.org") by vger.kernel.org with ESMTP id S261157AbUKRUHO (ORCPT ); Thu, 18 Nov 2004 15:07:14 -0500 Date: Thu, 18 Nov 2004 12:07:12 -0800 From: Chris Wright To: Hugh Dickins Cc: Chris Wright , Andrew Morton , Linus Torvalds , Tony Luck , Martin Schwidefsky , Andi Kleen , linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] setup_arg_pages can insert overlapping vma Message-ID: <20041118120712.S2357@build.pdx.osdl.net> References: <20041118105546.Q2357@build.pdx.osdl.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from hugh@veritas.com on Thu, Nov 18, 2004 at 07:41:57PM +0000 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 642 Lines: 15 * Hugh Dickins (hugh@veritas.com) wrote: > Check the comment on find_vma in mm/mmap.c: > /* Look up the first VMA which satisfies addr < vm_end, NULL if none. */ > but perhaps you thought it returns NULL if addr is not covered by a vma? Ah, yes, being at top of stack was part of my assumption. But I see your point. I think find_vma_intersection() might make best sense then. thanks, -chris - 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/