On Thu, Aug 17, 2006 at 10:31:37PM -0700, Andrew Morton wrote: > On Thu, 17 Aug 2006 15:53:40 +0400 > Kirill Korotaev <[EMAIL PROTECTED]> 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?
It used to be uid-related in ancient times when the notion of container hadn't formed up. "user" part of user_beancounter name has the same origin :) Now ub_id_t or something like that would be the most logical type. Andrey ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ ckrm-tech mailing list https://lists.sourceforge.net/lists/listinfo/ckrm-tech