Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750748AbWHPIDg (ORCPT ); Wed, 16 Aug 2006 04:03:36 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750751AbWHPIDg (ORCPT ); Wed, 16 Aug 2006 04:03:36 -0400 Received: from mailhub.sw.ru ([195.214.233.200]:3728 "EHLO relay.sw.ru") by vger.kernel.org with ESMTP id S1750748AbWHPIDf (ORCPT ); Wed, 16 Aug 2006 04:03:35 -0400 Message-ID: <44E2D196.7000102@sw.ru> Date: Wed, 16 Aug 2006 12:04:38 +0400 From: Kirill Korotaev User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.13) Gecko/20060417 X-Accept-Language: en-us, en, ru MIME-Version: 1.0 To: Dave Hansen CC: "Eric W. Biederman" , containers@lists.osdl.org, linux-kernel@vger.kernel.org, Oleg Nesterov Subject: Re: [Containers] [PATCH 1/7] pid: Implement access helpers for a tacks various process groups. References: <11556661922952-git-send-email-ebiederm@xmission.com> <1155667238.12700.58.camel@localhost.localdomain> In-Reply-To: <1155667238.12700.58.camel@localhost.localdomain> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 539 Lines: 17 > On Tue, 2006-08-15 at 12:23 -0600, Eric W. Biederman wrote: > >>+static inline struct pid *task_pid(struct task_struct *task) >>+{ >>+ return task->pids[PIDTYPE_PID].pid; >>+} > > > Does this mean we can start to deprecate the use of tsk->pid? Thats the final goal imho :))) Kirill - 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/