Re: [ANNOUNCE] 2.6.33-rc8-rt1

From: Thomas Gleixner
Date: Mon Feb 22 2010 - 10:02:16 EST


On Mon, 22 Feb 2010, Dan Carpenter wrote:

> mm/slab.c
> 2117 kmem_freepages(cachep, addr, *this_cpu);
> 2118 if (OFF_SLAB(cachep)) {
> 2119 if (this_cpu)
>
> We already dereferenced "this_cpu" two lines earlier.
>
> 2120 __cache_free(cachep->slabp_cache, slabp, this_cpu);
> 2121 else
> 2122 kmem_cache_free(cachep->slabp_cache, slabp);
>

Good catch. Thanks,

tglx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/