OpenVZ Forum


Home » Mailing lists » Devel » Re: [RFC][PATCH 1/2] add user namespace [try #2]
Re: [RFC][PATCH 1/2] add user namespace [try #2] [message #16547 is a reply to message #16539] Mon, 28 August 2006 16:16 Go to previous message
Cedric Le Goater is currently offline  Cedric Le Goater
Messages: 443
Registered: February 2006
Senior Member
Dave Hansen wrote:

> Something like
> 
> #define UIDHASH_BITS CONFIG_UID_HASH_BITS
> 
> config UID_HASH_BITS
> 	int
> 	default 3 if BASE_SMALL
> 	default 8
> 
> But, I guess the incentive is pretty small when there are really only
> two values, and the logic is extremely simple.

limiting the number of users per container could be something useful. we
could use such a configuration variable to define more appropriately the
size of the hash table.

using a hlist_head in user_namespace should also save some space.

C.
_______________________________________________
Containers mailing list
Containers@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/containers
 
Read Message
Read Message
Previous Topic: Re: [RFC][PATCH 1/2] add user namespace [try #2]
Next Topic: Re: [RFC][PATCH 1/2] add user namespace [try #2]
Goto Forum:
  


Current Time: Sun Oct 12 22:15:11 GMT 2025

Total time taken to generate the page: 0.22904 seconds