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.