Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756569Ab1DGScJ (ORCPT ); Thu, 7 Apr 2011 14:32:09 -0400 Received: from mail.openrapids.net ([64.15.138.104]:56929 "EHLO blackscsi.openrapids.net" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754793Ab1DGScH (ORCPT ); Thu, 7 Apr 2011 14:32:07 -0400 Date: Thu, 7 Apr 2011 14:32:06 -0400 From: Mathieu Desnoyers To: Huang Ying Cc: huang ying , Andrew Morton , Andi Kleen , "lenb@kernel.org" , "Paul E. McKenney" , "linux-kernel@vger.kernel.org" , Linus Torvalds Subject: Re: About lock-less data structure patches Message-ID: <20110407183206.GB6104@Krystal> References: <4D93DB49.3060205@intel.com> <20110401213748.GA26543@Krystal> <4D96AEAE.2010800@intel.com> <20110404155328.GA13390@Krystal> <20110405044227.GA20013@Krystal> <20110406014824.GB32321@Krystal> <4D9D1DF0.6030704@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4D9D1DF0.6030704@intel.com> X-Editor: vi X-Info: http://www.efficios.com X-Operating-System: Linux/2.6.26-2-686 (i686) X-Uptime: 14:30:58 up 134 days, 23:34, 4 users, load average: 0.18, 0.04, 0.01 User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1487 Lines: 44 * Huang Ying (ying.huang@intel.com) wrote: > On 04/06/2011 09:48 AM, Mathieu Desnoyers wrote: > > * huang ying (huang.ying.caritas@gmail.com) wrote: > [snip] > >>>> > >>>> OK. I will change the comments, adding these semantics explanation. > >>>> The user should be warned :) > >>> > >>> Yes, that makes sense. After this generalization step, if you're ok with > >>> this, we could aim at moving the implementation from a stack to a queue > >>> and provide fifo semantic rather than lifo, so that other users (e.g. > >>> call_rcu in the kernel) can start benefiting from it. > >> > >> I think that is good to move from stack to queue. > >> > >> I will send out changed lock-less data structure patchset soon. And > >> we can continue to work on the new lock-less queue at the same time. > > > > Sounds like a very good plan! Thanks! > > Maybe you can send out your lock-less queue patches, so we can work on that. Yep, let's wait until your implementation is finalized and merged, and then ping me again so I can cook up a RFC patch turning llist into a queue, if it's OK with you. Thanks, Mathieu > > Best Regards, > Huang Ying -- Mathieu Desnoyers Operating System Efficiency R&D Consultant EfficiOS Inc. http://www.efficios.com -- 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/