aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorJoonsoo Kim <iamjoonsoo.kim@lge.com>2013-10-23 21:07:39 -0400
committerPekka Enberg <penberg@iki.fi>2013-10-24 13:17:26 -0400
commitac2b54edbc4768f4a069fc360e2b4e579e9907cb (patch)
tree13b6b9ccb262ed7721ff124374db7e5a2e3a6586 /mm
parent0c3aa83e00a9cd93f08e7aa42fba01924aa5f2fc (diff)
slab: remove colouroff in struct slab
Now there is no user colouroff, so remove it. Acked-by: Andi Kleen <ak@linux.intel.com> Acked-by: Christoph Lameter <cl@linux.com> Signed-off-by: Joonsoo Kim <iamjoonsoo.kim@lge.com> Signed-off-by: Pekka Enberg <penberg@iki.fi>
Diffstat (limited to 'mm')
-rw-r--r--mm/slab.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/mm/slab.c b/mm/slab.c
index 7d79bd766002..34eb1152aba4 100644
--- a/mm/slab.c
+++ b/mm/slab.c
@@ -219,7 +219,6 @@ struct slab {
219 union { 219 union {
220 struct { 220 struct {
221 struct list_head list; 221 struct list_head list;
222 unsigned long colouroff;
223 void *s_mem; /* including colour offset */ 222 void *s_mem; /* including colour offset */
224 unsigned int inuse; /* num of objs active in slab */ 223 unsigned int inuse; /* num of objs active in slab */
225 kmem_bufctl_t free; 224 kmem_bufctl_t free;
@@ -2630,7 +2629,6 @@ static struct slab *alloc_slabmgmt(struct kmem_cache *cachep,
2630 colour_off += cachep->slab_size; 2629 colour_off += cachep->slab_size;
2631 } 2630 }
2632 slabp->inuse = 0; 2631 slabp->inuse = 0;
2633 slabp->colouroff = colour_off;
2634 slabp->s_mem = addr + colour_off; 2632 slabp->s_mem = addr + colour_off;
2635 slabp->nodeid = nodeid; 2633 slabp->nodeid = nodeid;
2636 slabp->free = 0; 2634 slabp->free = 0;