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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


[Index of Archives]     [Cgroups]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux