diff options
| author | Alexander Duyck <[email protected]> | 2010-05-21 21:41:35 +0000 |
|---|---|---|
| committer | Pekka Enberg <[email protected]> | 2010-05-24 18:11:29 +0000 |
| commit | 73367bd8eef4f4eb311005886aaa916013073265 (patch) | |
| tree | d603667689cfea1d8de49fe3c7fada7f6b6eae53 /security/selinux/hooks.c | |
| parent | Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/ide-2.6 (diff) | |
| download | kernel-73367bd8eef4f4eb311005886aaa916013073265.tar.gz kernel-73367bd8eef4f4eb311005886aaa916013073265.zip | |
slub: move kmem_cache_node into it's own cacheline
This patch is meant to improve the performance of SLUB by moving the local
kmem_cache_node lock into it's own cacheline separate from kmem_cache.
This is accomplished by simply removing the local_node when NUMA is enabled.
On my system with 2 nodes I saw around a 5% performance increase w/
hackbench times dropping from 6.2 seconds to 5.9 seconds on average. I
suspect the performance gain would increase as the number of nodes
increases, but I do not have the data to currently back that up.
Bugzilla-Reference: http://bugzilla.kernel.org/show_bug.cgi?id=15713
Cc: <[email protected]>
Reported-by: Alex Shi <[email protected]>
Tested-by: Alex Shi <[email protected]>
Acked-by: Yanmin Zhang <[email protected]>
Acked-by: Christoph Lameter <[email protected]>
Signed-off-by: Alexander Duyck <[email protected]>
Signed-off-by: Pekka Enberg <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions
