Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964828AbWHQLwB (ORCPT ); Thu, 17 Aug 2006 07:52:01 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S964832AbWHQLwB (ORCPT ); Thu, 17 Aug 2006 07:52:01 -0400 Received: from mailhub.sw.ru ([195.214.233.200]:1059 "EHLO relay.sw.ru") by vger.kernel.org with ESMTP id S964828AbWHQLwA (ORCPT ); Thu, 17 Aug 2006 07:52:00 -0400 Message-ID: <44E458ED.3060404@sw.ru> Date: Thu, 17 Aug 2006 15:54:21 +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: Andrew Morton CC: rohitseth@google.com, Linux Kernel Mailing List , Alan Cox , Ingo Molnar , Christoph Hellwig , Pavel Emelianov , Andrey Savochkin , devel@openvz.org, Rik van Riel , hugh@veritas.com, ckrm-tech@lists.sourceforge.net, Andi Kleen Subject: Re: [RFC][PATCH 2/7] UBC: core (structures, API) References: <44E33893.6020700@sw.ru> <44E33BB6.3050504@sw.ru> <1155751868.22595.65.camel@galaxy.corp.google.com> <20060816111818.de1e4339.akpm@osdl.org> In-Reply-To: <20060816111818.de1e4339.akpm@osdl.org> 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: 739 Lines: 26 Andrew Morton wrote: > On Wed, 16 Aug 2006 11:11:08 -0700 > Rohit Seth wrote: > > >>>+struct user_beancounter >>>+{ >>>+ atomic_t ub_refcount; >>>+ spinlock_t ub_lock; >>>+ uid_t ub_uid; >> >>Why uid? Will it be possible to club processes belonging to different >>users to same bean counter. > > > hm. I'd have expected to see a `struct user_struct *' here, not a uid_t. Sorry, misused name. should be ub_id. not related to user_struct or user. Thanks, 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/