Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753810Ab0BVPCM (ORCPT ); Mon, 22 Feb 2010 10:02:12 -0500 Received: from www.tglx.de ([62.245.132.106]:57093 "EHLO www.tglx.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753770Ab0BVPCK (ORCPT ); Mon, 22 Feb 2010 10:02:10 -0500 Date: Mon, 22 Feb 2010 16:00:20 +0100 (CET) From: Thomas Gleixner To: Dan Carpenter cc: LKML , rt-users , Ingo Molnar , Steven Rostedt , Peter Zijlstra , Carsten Emde , Clark Williams , Frank Rowand , Robin Gareus , Gregory Haskins , Philippe Reynes , Fernando Lopez-Lezcano , Will Schmidt , Darren Hart , Jan Blunck , Sven-Thorsten Dietrich , Jon Masters , Mark Knecht , John Kacur , Nick Piggin Subject: Re: [ANNOUNCE] 2.6.33-rc8-rt1 In-Reply-To: <20100222133629.GD5416@bicker> Message-ID: References: <20100222133629.GD5416@bicker> User-Agent: Alpine 2.00 (LFD 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 784 Lines: 22 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/