From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19vN0G-0000bT-00 for ; Fri, 05 Sep 2003 13:16:20 -0700 Received: from lakshmi.addtoit.com ([198.99.130.6] helo=lakshmi.solana.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19vN0F-0005Z4-2W for user-mode-linux-devel@lists.sourceforge.net; Fri, 05 Sep 2003 13:16:20 -0700 Received: from ccure.karaya.com (lakshmi.solana.com [127.0.0.1]) by lakshmi.solana.com (8.11.2/8.9.3) with ESMTP id h85K8oj04351 for ; Fri, 5 Sep 2003 16:08:51 -0400 Message-Id: <200309052012.h85KCojh001348@ccure.karaya.com> Subject: Re: [uml-devel] SKAS: Why pass mm vs. current? In-Reply-To: Your message of "Thu, 04 Sep 2003 19:06:23 PDT." <20030905020623.GA1601@pathfinder> References: <20030905020623.GA1601@pathfinder> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii From: Jeff Dike Sender: user-mode-linux-devel-admin@lists.sourceforge.net Errors-To: user-mode-linux-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Id: The user-mode Linux development list List-Unsubscribe: , List-Archive: Date: Fri, 05 Sep 2003 16:12:50 -0400 To: stevegt@TerraLuna.Org Cc: user-mode-linux-devel@lists.sourceforge.net stevegt@TerraLuna.Org said: > I have a question about why the skas patch passes mm down through the > do_mmap* call tree. Why not just use current->mm when needed, the way > the original kernel does? Or, if there's a context issue, then why > not pass all of current as a task_struct pointer, instead of just > current->mm? Because the only thing needed is the mm. I don't like passing a lot of information through an interface when only one piece of it is actually needed. Jeff ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel