Re: [ANNOUNCE] 2.6.33-rc8-rt1

Thomas Gleixner
2010-02-22T15:02:10Z

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