From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Lameter Subject: Re: [PATCH] atomic: add atomic_inc_not_zero_hint() Date: Mon, 15 Nov 2010 07:57:10 -0600 (CST) Message-ID: References: <1288975980.2882.877.camel@edumazet-laptop> <20101105102038.53e36f9e.akpm@linux-foundation.org> <1288980046.2882.1054.camel@edumazet-laptop> <20101105110828.52f061b3.akpm@linux-foundation.org> <1288981224.2882.1105.camel@edumazet-laptop> <20101105112821.57f80481.akpm@linux-foundation.org> <1288984844.2665.52.camel@edumazet-laptop> <20101105195101.GC15561@linux.vnet.ibm.com> <20101113222612.GD2825@linux.vnet.ibm.com> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Eric Dumazet , Andrew Morton , linux-kernel , David Miller , netdev , Arnaldo Carvalho de Melo , Ingo Molnar , Andi Kleen , Nick Piggin To: "Paul E. McKenney" Return-path: Received: from smtp104.prem.mail.ac4.yahoo.com ([76.13.13.43]:42706 "HELO smtp104.prem.mail.ac4.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1755709Ab0KON5O (ORCPT ); Mon, 15 Nov 2010 08:57:14 -0500 In-Reply-To: <20101113222612.GD2825@linux.vnet.ibm.com> Sender: netdev-owner@vger.kernel.org List-ID: On Sat, 13 Nov 2010, Paul E. McKenney wrote: > On Fri, Nov 12, 2010 at 01:14:12PM -0600, Christoph Lameter wrote: > > > > prefetchw() would be too much overhead? > > No idea. Where do you believe that prefetchw() should be added? It is another way to get an exclusive cache line for situations like this. No need to give a hint.