[RFC][PATCH 1/2] add user namespace [try #2]

Cedric Le Goater clg at fr.ibm.com
Mon Aug 28 09:16:11 PDT 2006


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.



More information about the Containers mailing list