diff options
author | Christoph Lameter <clameter@sgi.com> | 2008-01-08 02:20:26 -0500 |
---|---|---|
committer | Christoph Lameter <clameter@sgi.com> | 2008-02-04 13:56:02 -0500 |
commit | 9824601ead957a29e35d539e43266c003f7b085b (patch) | |
tree | 13df23987102e39fce77d64f60e499401444a905 /include | |
parent | f61396aed90acb033952531c522d1010f87e24f4 (diff) |
SLUB: rename defrag to remote_node_defrag_ratio
The NUMA defrag works by allocating objects from partial slabs on remote
nodes. Rename it to
remote_node_defrag_ratio
to be clear about this.
Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/slub_def.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/slub_def.h b/include/linux/slub_def.h index 40801e754afb..a06ee26193c2 100644 --- a/include/linux/slub_def.h +++ b/include/linux/slub_def.h | |||
@@ -59,7 +59,10 @@ struct kmem_cache { | |||
59 | #endif | 59 | #endif |
60 | 60 | ||
61 | #ifdef CONFIG_NUMA | 61 | #ifdef CONFIG_NUMA |
62 | int defrag_ratio; | 62 | /* |
63 | * Defragmentation by allocating from a remote node. | ||
64 | */ | ||
65 | int remote_node_defrag_ratio; | ||
63 | struct kmem_cache_node *node[MAX_NUMNODES]; | 66 | struct kmem_cache_node *node[MAX_NUMNODES]; |
64 | #endif | 67 | #endif |
65 | #ifdef CONFIG_SMP | 68 | #ifdef CONFIG_SMP |