Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932569AbVINBuO (ORCPT ); Tue, 13 Sep 2005 21:50:14 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932575AbVINBuO (ORCPT ); Tue, 13 Sep 2005 21:50:14 -0400 Received: from zeniv.linux.org.uk ([195.92.253.2]:31883 "EHLO ZenIV.linux.org.uk") by vger.kernel.org with ESMTP id S932569AbVINBuM (ORCPT ); Tue, 13 Sep 2005 21:50:12 -0400 Date: Wed, 14 Sep 2005 02:50:03 +0100 From: Al Viro To: Linus Torvalds Cc: Sripathi Kodi , Andrew Morton , linux-kernel@vger.kernel.org, patrics@interia.pl, Ingo Molnar , Roland McGrath Subject: Re: [PATCH 2.6.13.1] Patch for invisible threads Message-ID: <20050914015003.GW25261@ZenIV.linux.org.uk> References: <4325BEF3.2070901@in.ibm.com> <20050912134954.7bbd15b2.akpm@osdl.org> <4326CFE2.6000908@in.ibm.com> <20050913165102.GR25261@ZenIV.linux.org.uk> <20050913171215.GS25261@ZenIV.linux.org.uk> <43274503.7090303@in.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 693 Lines: 15 On Tue, Sep 13, 2005 at 04:10:21PM -0700, Linus Torvalds wrote: > > > get it from some other thread? Below is the patch I tried for this: > I don't think this is wrong per se, but you shouldn't take the tasklist > lock normally. You're better off just doing Could you exlain why we might want to bother with that in the first place? In any case, why would we want to put that stuff on the common codepath instead of specialized ->permission()? - 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/