Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752514Ab1CHJHw (ORCPT ); Tue, 8 Mar 2011 04:07:52 -0500 Received: from e7.ny.us.ibm.com ([32.97.182.137]:44510 "EHLO e7.ny.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751513Ab1CHJHt (ORCPT ); Tue, 8 Mar 2011 04:07:49 -0500 Date: Tue, 8 Mar 2011 01:07:42 -0800 From: "Paul E. McKenney" To: Joe Korty Cc: Frederic Weisbecker , linux-kernel@vger.kernel.org Subject: Re: [PATCH] An RCU for SMP with a single CPU garbage collector Message-ID: <20110308090742.GO3104@linux.vnet.ibm.com> Reply-To: paulmck@linux.vnet.ibm.com References: <20101111041920.GD3134@linux.vnet.ibm.com> <20101113223046.GB5445@nowhere> <20101116012846.GV2555@linux.vnet.ibm.com> <20101116135230.GA5362@nowhere> <20101116155104.GB2497@linux.vnet.ibm.com> <20101117005229.GC26243@nowhere> <20110307203106.GA23002@tsunami.ccur.com> <20110307210157.GG3104@linux.vnet.ibm.com> <20110307211613.GA26455@tsunami.ccur.com> <20110307225110.GA19414@tsunami.ccur.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110307225110.GA19414@tsunami.ccur.com> User-Agent: Mutt/1.5.20 (2009-06-14) X-Content-Scanned: Fidelis XPS MAILER Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1335 Lines: 30 On Mon, Mar 07, 2011 at 05:51:10PM -0500, Joe Korty wrote: > On Mon, Mar 07, 2011 at 04:16:13PM -0500, Joe Korty wrote: > > On Mon, Mar 07, 2011 at 04:01:57PM -0500, Paul E. McKenney wrote: > >> But I would really prefer leveraging the existing RCU implementations > >> to the extent possible. Are the user-dedicated CPUs able to invoke > >> system calls? If so, something like Frederic's approach should permit > >> the existing RCU implementations to operate normally. If not, what is > >> doing the RCU read-side critical sections on the dedicated CPUs? > > > > I thought about the system call approach but rejected it. > > Some (maybe many) customers needing dedicated CPUs will > > have apps that never make any system calls at all. > > Hi Paul, > Thinking about it some more, the tap-into-syscall approach might > work in my implementation, in which case the tap-into-preempt-enable > code could go away. OK, please let me know how that goes! > Nice thing about RCU, the algorithms are infinitely mallable :) Just trying to keep the code size finite. ;-) Thanx, Paul -- 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/