From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754238Ab1L0OLc (ORCPT ); Tue, 27 Dec 2011 09:11:32 -0500 Received: from cantor2.suse.de ([195.135.220.15]:45293 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751626Ab1L0OLa (ORCPT ); Tue, 27 Dec 2011 09:11:30 -0500 Date: Tue, 27 Dec 2011 15:11:28 +0100 From: Michal Hocko To: "Kirill A. Shutemov" Cc: linux-mm@kvack.org, cgroups@vger.kernel.org, linux-kernel@vger.kernel.org, containers@lists.linux-foundation.org, KAMEZAWA Hiroyuki , Balbir Singh , Johannes Weiner Subject: Re: [PATCH 4/6] memcg: mark stat field of mem_cgroup struct as __percpu Message-ID: <20111227141128.GN5344@tiehlicka.suse.cz> References: <1324695619-5537-1-git-send-email-kirill@shutemov.name> <1324695619-5537-4-git-send-email-kirill@shutemov.name> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1324695619-5537-4-git-send-email-kirill@shutemov.name> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat 24-12-11 05:00:17, Kirill A. Shutemov wrote: > From: "Kirill A. Shutemov" > > It fixes a lot of sparse warnings. > > Signed-off-by: Kirill A. Shutemov Looks good. Acked-by: Michal Hocko Thanks > --- > mm/memcontrol.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/mm/memcontrol.c b/mm/memcontrol.c > index 627c19e..b27ce0f 100644 > --- a/mm/memcontrol.c > +++ b/mm/memcontrol.c > @@ -291,7 +291,7 @@ struct mem_cgroup { > /* > * percpu counter. > */ > - struct mem_cgroup_stat_cpu *stat; > + struct mem_cgroup_stat_cpu __percpu *stat; > /* > * used when a cpu is offlined or other synchronizations > * See mem_cgroup_read_stat(). > -- > 1.7.7.3 > > -- > 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/ -- Michal Hocko SUSE Labs SUSE LINUX s.r.o. Lihovarska 1060/12 190 00 Praha 9 Czech Republic