From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932384AbWACSSd (ORCPT ); Tue, 3 Jan 2006 13:18:33 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932410AbWACSSd (ORCPT ); Tue, 3 Jan 2006 13:18:33 -0500 Received: from omx3-ext.sgi.com ([192.48.171.25]:34446 "EHLO omx3.sgi.com") by vger.kernel.org with ESMTP id S932384AbWACSSc (ORCPT ); Tue, 3 Jan 2006 13:18:32 -0500 Date: Tue, 3 Jan 2006 10:18:14 -0800 (PST) From: Christoph Lameter To: Ravikiran G Thirumalai cc: Oleg Nesterov , Shai Fultheim , Nippun Goel , linux-kernel@vger.kernel.org, Andrew Morton Subject: Re: [rfc][patch] Avoid taking global tasklist_lock for single threadedprocess at getrusage() In-Reply-To: <20051228225752.GB3755@localhost.localdomain> Message-ID: References: <43AD8AF6.387B357A@tv-sign.ru> <43B2874F.F41A9299@tv-sign.ru> <20051228183345.GA3755@localhost.localdomain> <20051228225752.GB3755@localhost.localdomain> 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 I still think that it would be best to not handle __user pointers in getrusage_*. Alternatively lets give up on these smaller functions if the modifications are simple. Modify the existing function as Oleg suggested.