projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c3aa83
)
slab: remove colouroff in struct slab
author
Joonsoo Kim
<
[email protected]
>
Thu, 24 Oct 2013 01:07:39 +0000
(10:07 +0900)
committer
Pekka Enberg
<
[email protected]
>
Thu, 24 Oct 2013 17:17:26 +0000
(20:17 +0300)
Now there is no user colouroff, so remove it.
Acked-by: Andi Kleen <
[email protected]
>
Acked-by: Christoph Lameter <
[email protected]
>
Signed-off-by: Joonsoo Kim <
[email protected]
>
Signed-off-by: Pekka Enberg <
[email protected]
>
mm/slab.c
patch
|
blob
|
history
diff --git
a/mm/slab.c
b/mm/slab.c
index 7d79bd76600293f77757c3bc7035e2323c17d3e3..34eb1152aba4bc6a8c3746fc0921827d1801b93e 100644
(file)
--- 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;