From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx150.postini.com [74.125.245.150]) by kanga.kvack.org (Postfix) with SMTP id 99E616B0072 for ; Thu, 25 Oct 2012 14:08:17 -0400 (EDT) Received: by mail-pa0-f41.google.com with SMTP id fa10so1494226pad.14 for ; Thu, 25 Oct 2012 11:08:16 -0700 (PDT) Date: Thu, 25 Oct 2012 11:08:12 -0700 From: Tejun Heo Subject: Re: [PATCH v5 08/18] memcg: infrastructure to match an allocation to the right cache Message-ID: <20121025180812.GN11442@htj.dyndns.org> References: <1350656442-1523-1-git-send-email-glommer@parallels.com> <1350656442-1523-9-git-send-email-glommer@parallels.com> <50891CF2.3030400@parallels.com> <20121025180652.GM11442@htj.dyndns.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20121025180652.GM11442@htj.dyndns.org> Sender: owner-linux-mm@kvack.org List-ID: To: Glauber Costa Cc: JoonSoo Kim , linux-mm@kvack.org, linux-kernel@vger.kernel.org, cgroups@vger.kernel.org, Mel Gorman , Andrew Morton , Michal Hocko , Johannes Weiner , kamezawa.hiroyu@jp.fujitsu.com, Christoph Lameter , David Rientjes , Pekka Enberg , devel@openvz.org, Pekka Enberg , Suleiman Souhlal On Thu, Oct 25, 2012 at 11:06:52AM -0700, Tejun Heo wrote: > Hello, Glauber. > > On Thu, Oct 25, 2012 at 03:05:22PM +0400, Glauber Costa wrote: > > > Is there any rmb() pair? > > > As far as I know, without rmb(), wmb() doesn't guarantee anything. > > > > > > > There should be. But it seems I missed it. Speaking of which, I should > > You probably can use read_barrier_depends(). Ooh, and when you use memory barrier pairs, please make sure to comment on both sides explaining how they're paired and why. There's nothing more frustrating than barriers without clear annotation. Thanks. -- tejun -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org