Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754655Ab0AEWhH (ORCPT ); Tue, 5 Jan 2010 17:37:07 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754357Ab0AEWhG (ORCPT ); Tue, 5 Jan 2010 17:37:06 -0500 Received: from nlpi129.sbcis.sbc.com ([207.115.36.143]:37395 "EHLO nlpi129.prodigy.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754329Ab0AEWhF (ORCPT ); Tue, 5 Jan 2010 17:37:05 -0500 Date: Tue, 5 Jan 2010 16:35:56 -0600 (CST) From: Christoph Lameter X-X-Sender: cl@router.home To: Mathieu Desnoyers cc: Tejun Heo , linux-kernel@vger.kernel.org, Mel Gorman , Pekka Enberg Subject: Re: [this_cpu_xx V8 11/16] Generic support for this_cpu_cmpxchg In-Reply-To: <20100105222905.GA30726@Krystal> Message-ID: References: <20091218222617.384355422@quilx.com> <20091218222653.560936448@quilx.com> <20091219144520.GA9134@Krystal> <20091222172436.GB12529@Krystal> <20100105222905.GA30726@Krystal> 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: 774 Lines: 18 On Tue, 5 Jan 2010, Mathieu Desnoyers wrote: > This scheme where Steven moves buffers from one CPU to another, he only > performs this operation when some other exclusion mechanism ensures that > the buffer is not used for writing by the CPU when this move operation > is done. > > It is therefore correct, and needs local_t type to deal with the data > structure hierarchy vs atomic exchange as I pointed in my email. Yes this_cpu_xx does not seem to work for your scheme. Please review the patchset that I sent you instead. -- 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/