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

From: Andrew Morton
Date: Wed Aug 16 2006 - 14:17:34 EST


On Wed, 16 Aug 2006 11:11:08 -0700
Rohit Seth <rohitseth@xxxxxxxxxx> 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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/