Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762470AbXH0QV3 (ORCPT ); Mon, 27 Aug 2007 12:21:29 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1761227AbXH0QNe (ORCPT ); Mon, 27 Aug 2007 12:13:34 -0400 Received: from zeniv.linux.org.uk ([195.92.253.2]:50680 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1761210AbXH0QNd (ORCPT ); Mon, 27 Aug 2007 12:13:33 -0400 Date: Mon, 27 Aug 2007 17:13:28 +0100 From: Al Viro To: Dean Nelson Cc: akpm@linux-foundation.org, linux-ia64@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, tony.luck@intel.com, jes@sgi.com Subject: Re: [PATCH 1/4] export __put_task_struct for XPMEM Message-ID: <20070827161327.GG21089@ftp.linux.org.uk> References: <20070827155622.GA25589@sgi.com> <20070827155933.GB25589@sgi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070827155933.GB25589@sgi.com> User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 736 Lines: 18 On Mon, Aug 27, 2007 at 10:59:33AM -0500, Dean Nelson wrote: > This patch exports __put_task_struct as it is needed by XPMEM. > > Signed-off-by: Dean Nelson > > --- > > One struct file_operations registered by XPMEM, xpmem_open(), calls > 'get_task_struct(current->group_leader)' and another, xpmem_flush(), calls > 'put_task_struct(tg->group_leader)'. Does it? Well, then open the file in question and start doing close(dup(fd)) in a loop. Won't take long for an oops... - 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/