Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758155AbZLOOvv (ORCPT ); Tue, 15 Dec 2009 09:51:51 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756073AbZLOOvu (ORCPT ); Tue, 15 Dec 2009 09:51:50 -0500 Received: from nlpi129.sbcis.sbc.com ([207.115.36.143]:53268 "EHLO nlpi129.prodigy.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756050AbZLOOvs (ORCPT ); Tue, 15 Dec 2009 09:51:48 -0500 Date: Tue, 15 Dec 2009 08:50:39 -0600 (CST) From: Christoph Lameter X-X-Sender: cl@router.home To: Tejun Heo cc: Pekka Enberg , linux-kernel@vger.kernel.org, Mel Gorman , Mathieu Desnoyers Subject: Re: [this_cpu_xx V7 0/8] Per cpu atomics in core allocators and cleanup In-Reply-To: <4B273108.9050301@kernel.org> Message-ID: References: <20091214220320.665065925@quilx.com> <1260859066.4770.0.camel@penberg-laptop> <4B273108.9050301@kernel.org> User-Agent: Alpine 2.00 (DEB 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: 1054 Lines: 31 Small fixup patch to the slub patches: Subject: Update remaining reference to get_cpu_slab If CONFIG_SLUB_STATS is set then some additional code is being compiled that was not updated since it was a recent addition to slub. Signed-off-by: Christoph Lameter --- mm/slub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: linux-2.6/mm/slub.c =================================================================== --- linux-2.6.orig/mm/slub.c 2009-12-15 08:47:44.000000000 -0600 +++ linux-2.6/mm/slub.c 2009-12-15 08:48:03.000000000 -0600 @@ -4221,7 +4221,7 @@ static void clear_stat(struct kmem_cache int cpu; for_each_online_cpu(cpu) - get_cpu_slab(s, cpu)->stat[si] = 0; + per_cpu_ptr(s->cpu_slab, cpu)->stat[si] = 0; } #define STAT_ATTR(si, text) \ -- 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/