[Devel] Re: [RFC][PATCH 2/7] UBC: core (structures, API)

Andrew Morton akpm at osdl.org
Thu Aug 17 22:31:37 PDT 2006


On Thu, 17 Aug 2006 15:53:40 +0400
Kirill Korotaev <dev at sw.ru> 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.
> oh, its a misname. Should be ub_id. it is ID of user_beancounter
> and has nothing to do with user id.

But it uses a uid_t.  That's more than a misnaming?




More information about the Devel mailing list