From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout.perfora.net (mout.perfora.net [74.208.4.195]) by ozlabs.org (Postfix) with ESMTP id C1D13B6F86 for ; Thu, 10 Mar 2011 01:15:40 +1100 (EST) Date: Wed, 9 Mar 2011 09:14:41 -0500 From: Stephen Wilson To: Michel Lespinasse Subject: Re: [PATCH 0/5] make *_gate_vma accept mm_struct instead of task_struct Message-ID: <20110309141441.GA8861@fibrous.localdomain> References: <1299630721-4337-1-git-send-email-wilsons@start.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 In-Reply-To: Cc: linux-s390@vger.kernel.org, Andi Kleen , Paul Mundt , linux-sh@vger.kernel.org, x86@kernel.org, Heiko Carstens , linux-kernel@vger.kernel.org, linux-mm@kvack.org, Ingo Molnar , Paul Mackerras , Alexander Viro , "H. Peter Anvin" , Martin Schwidefsky , linux390@de.ibm.com, Thomas Gleixner , linuxppc-dev@lists.ozlabs.org, Andrew Morton List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Wed, Mar 09, 2011 at 05:09:09AM -0800, Michel Lespinasse wrote: > On Tue, Mar 8, 2011 at 4:31 PM, Stephen Wilson wrote: > > Morally, the question of whether an address lies in a gate vma should be asked > > with respect to an mm, not a particular task. > > > > Practically, dropping the dependency on task_struct will help make current and > > future operations on mm's more flexible and convenient.  In particular, it > > allows some code paths to avoid the need to hold task_lock. > > Reviewed-by: Michel Lespinasse > > May I suggest ia32_compat instead of just compat for the flag name ? Yes, sounds good to me. Will change in the next iteration. Thanks for the review! > -- > Michel "Walken" Lespinasse > A program is never fully debugged until the last user dies. -- steve