thp: fix split_huge_page() after mremap() of THP
[deliverable/linux.git] / kernel / cred.c
index 71179a09c1d6a3240fd9c1a4ead58d89646da24e..0c0cd8a62285279a521b3f724189fe997da84ddb 100644 (file)
@@ -569,8 +569,8 @@ EXPORT_SYMBOL(revert_creds);
 void __init cred_init(void)
 {
        /* allocate a slab in which we can store credentials */
-       cred_jar = kmem_cache_create("cred_jar", sizeof(struct cred),
-                                    0, SLAB_HWCACHE_ALIGN|SLAB_PANIC, NULL);
+       cred_jar = kmem_cache_create("cred_jar", sizeof(struct cred), 0,
+                       SLAB_HWCACHE_ALIGN|SLAB_PANIC|SLAB_ACCOUNT, NULL);
 }
 
 /**
This page took 0.027193 seconds and 5 git commands to generate.