memcg: enable accounting for new namesapces and struct nsproxy
[linux-2.6-microblaze.git] / kernel / nsproxy.c
index abc01fc..eec72ca 100644 (file)
@@ -568,6 +568,6 @@ out:
 
 int __init nsproxy_cache_init(void)
 {
-       nsproxy_cachep = KMEM_CACHE(nsproxy, SLAB_PANIC);
+       nsproxy_cachep = KMEM_CACHE(nsproxy, SLAB_PANIC|SLAB_ACCOUNT);
        return 0;
 }