Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756502AbZASTGV (ORCPT ); Mon, 19 Jan 2009 14:06:21 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752491AbZASTGE (ORCPT ); Mon, 19 Jan 2009 14:06:04 -0500 Received: from mx2.redhat.com ([66.187.237.31]:52916 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752684AbZASTGC (ORCPT ); Mon, 19 Jan 2009 14:06:02 -0500 Date: Mon, 19 Jan 2009 20:03:31 +0100 From: Oleg Nesterov To: Vitaliy Gusev Cc: Andrew Morton , Christoph Hellwig , linux-kernel@vger.kernel.org, Pavel Emelyanov Subject: Re: [PATCH] kthread: Don't looking for a task in create_kthread() Message-ID: <20090119190331.GA24852@redhat.com> References: <200901192028.34594.vgusev@openvz.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200901192028.34594.vgusev@openvz.org> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 656 Lines: 20 On 01/19, Vitaliy Gusev wrote: > > Let a process fill result, as 'current' is the same > in all pid namespaces. This looks like a very nice patch to me. But I don't understand the changelog. Afaics, this has nothing to do with namespaces. We can remove the unnecessary find_task_by_pid_ns() kthread() can just use "current" to get the same result. Could you please improve the changelog and re-send? Oleg. -- 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/