Commit 2a17c650 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] don't cacheline-align radix_tree_nodes

They are 260 bytes.  We can get 15 per page without cacheline
alignment.  But we're currently only getting ten per page on P4.
parent 74bbb9c7
...@@ -363,7 +363,7 @@ void __init radix_tree_init(void) ...@@ -363,7 +363,7 @@ void __init radix_tree_init(void)
{ {
radix_tree_node_cachep = kmem_cache_create("radix_tree_node", radix_tree_node_cachep = kmem_cache_create("radix_tree_node",
sizeof(struct radix_tree_node), 0, sizeof(struct radix_tree_node), 0,
SLAB_HWCACHE_ALIGN, radix_tree_node_ctor, NULL); 0, radix_tree_node_ctor, NULL);
if (!radix_tree_node_cachep) if (!radix_tree_node_cachep)
panic ("Failed to create radix_tree_node cache\n"); panic ("Failed to create radix_tree_node cache\n");
radix_tree_node_pool = mempool_create(512, radix_tree_node_pool_alloc, radix_tree_node_pool = mempool_create(512, radix_tree_node_pool_alloc,
......
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