Commit 226a4aef authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] remove spaces from slab names

From Anton Blanchard: remove spaces from slab cache identifiers.  Simplifies
parsing of /proc/slabinfo.
parent 49da25b9
...@@ -1543,7 +1543,7 @@ static int __init eventpoll_init(void) ...@@ -1543,7 +1543,7 @@ static int __init eventpoll_init(void)
/* Allocates slab cache used to allocate "struct epitem" items */ /* Allocates slab cache used to allocate "struct epitem" items */
error = -ENOMEM; error = -ENOMEM;
epi_cache = kmem_cache_create("eventpoll epi", epi_cache = kmem_cache_create("eventpoll_epi",
sizeof(struct epitem), sizeof(struct epitem),
0, 0,
SLAB_HWCACHE_ALIGN | EPI_SLAB_DEBUG, NULL, NULL); SLAB_HWCACHE_ALIGN | EPI_SLAB_DEBUG, NULL, NULL);
...@@ -1552,7 +1552,7 @@ static int __init eventpoll_init(void) ...@@ -1552,7 +1552,7 @@ static int __init eventpoll_init(void)
/* Allocates slab cache used to allocate "struct eppoll_entry" */ /* Allocates slab cache used to allocate "struct eppoll_entry" */
error = -ENOMEM; error = -ENOMEM;
pwq_cache = kmem_cache_create("eventpoll pwq", pwq_cache = kmem_cache_create("eventpoll_pwq",
sizeof(struct eppoll_entry), sizeof(struct eppoll_entry),
0, 0,
EPI_SLAB_DEBUG, NULL, NULL); EPI_SLAB_DEBUG, NULL, NULL);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment