slab: remove colouroff in struct slab
Linux-MTD Mailing List
linux-mtd at lists.infradead.org
Fri Nov 22 17:59:02 EST 2013
Gitweb: http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=ac2b54edbc4768f4a069fc360e2b4e579e9907cb
Commit: ac2b54edbc4768f4a069fc360e2b4e579e9907cb
Parent: 0c3aa83e00a9cd93f08e7aa42fba01924aa5f2fc
Author: Joonsoo Kim <iamjoonsoo.kim at lge.com>
AuthorDate: Thu Oct 24 10:07:39 2013 +0900
Committer: Pekka Enberg <penberg at iki.fi>
CommitDate: Thu Oct 24 20:17:26 2013 +0300
slab: remove colouroff in struct slab
Now there is no user colouroff, so remove it.
Acked-by: Andi Kleen <ak at linux.intel.com>
Acked-by: Christoph Lameter <cl at linux.com>
Signed-off-by: Joonsoo Kim <iamjoonsoo.kim at lge.com>
Signed-off-by: Pekka Enberg <penberg at iki.fi>
---
mm/slab.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/mm/slab.c b/mm/slab.c
index 7d79bd7..34eb115 100644
--- a/mm/slab.c
+++ b/mm/slab.c
@@ -219,7 +219,6 @@ struct slab {
union {
struct {
struct list_head list;
- unsigned long colouroff;
void *s_mem; /* including colour offset */
unsigned int inuse; /* num of objs active in slab */
kmem_bufctl_t free;
@@ -2630,7 +2629,6 @@ static struct slab *alloc_slabmgmt(struct kmem_cache *cachep,
colour_off += cachep->slab_size;
}
slabp->inuse = 0;
- slabp->colouroff = colour_off;
slabp->s_mem = addr + colour_off;
slabp->nodeid = nodeid;
slabp->free = 0;
More information about the linux-mtd-cvs
mailing list