Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp260402imm; Tue, 22 May 2018 18:20:38 -0700 (PDT) X-Google-Smtp-Source: AB8JxZq1EEb8lb0zVfNta4qfAbT2jjFERolaqVZ5lbCMieWVxmSOgn9GtOcXXtTNp76Q9U0uOUBr X-Received: by 2002:a62:4a50:: with SMTP id x77-v6mr779948pfa.142.1527038437966; Tue, 22 May 2018 18:20:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527038437; cv=none; d=google.com; s=arc-20160816; b=NNd2m6pIdO1/D+FStb3qCFNiDTVVdtxRi/LovvE4hnxE1mPF/RH3sikDsy1MZz0QaN KZiDOlSqe9FX8AvNv3pRvFbSt+qq3L9V/6hET2LtYuEvYtqP8kQIueIPo79ipPho8COe PGU3ymc1+8VNJvCKz4cGGx7QMeZr9BFaSB9OXqNEPIeSFgzGKP/ufZqx+qpjhEKIF6cC TkMlgLSbJz2xrkh3NM4O57GHJpqb+k4uI9QDdeVUZn3B/7FjWQErhzDYHgTQ2BVMeaL5 2WaqWW/bNK7n9Z6fCTWLMt1SHzwLLCCvZxSoQqjy3qxx0kelTJ6c49XPcOgnpgiu25vN kUJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=KPah1MSwXtXeZjiVL/iFxWHoUiK111oBqcpRf8EO094=; b=a3K9IXFSEX/0LN7pghDo5UazOImnKGr1bKgpY8V1dvOFQAZfKyzzP4rfuem6oqSOnb RK3qLuTSmOrapXtGy6B6Ng/EQjK5R9/Y7T7mnkKj9GSOShIsUEwRYCtZiV74C5pqdEcH wMe79SLqqALzuX7uEKXj7HLSzXYUTTubdJCOp8b+e+tc+UP4/q4bq0Ywwg7LQYHNTFEn Wy2IplQZJFoQnWgkzcoJVoZed25maWE4vHhxOjiJtetJNl/S0PhzXRQSJ7DwZul6XGZz 9ReB1mtEvHnFKNmIcji8BRTnsuMl/0hC6BzgPt2cuL/eDcWdZf1N20/DpIl9a/x/OpGZ 9tZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@joelfernandes.org header.s=google header.b=u9mGE9Ri; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e11-v6si13030093pgs.476.2018.05.22.18.20.23; Tue, 22 May 2018 18:20:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@joelfernandes.org header.s=google header.b=u9mGE9Ri; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753826AbeEWBTr (ORCPT + 99 others); Tue, 22 May 2018 21:19:47 -0400 Received: from mail-pf0-f194.google.com ([209.85.192.194]:39726 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753740AbeEWBTO (ORCPT ); Tue, 22 May 2018 21:19:14 -0400 Received: by mail-pf0-f194.google.com with SMTP id a22-v6so9612286pfn.6 for ; Tue, 22 May 2018 18:19:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=joelfernandes.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=KPah1MSwXtXeZjiVL/iFxWHoUiK111oBqcpRf8EO094=; b=u9mGE9RiSG0MfxecBlWrtIWwQZ705lbuSJpJ8AUr+sSgapAZK8wsU6/hi2hAo7e5bj fZXHrVE3fK/Hl1wB7bcQcJGkjMLoY4P+C68wQ8AvnpaoshM+6vK/VdUxaEArkZfB/mYv QYgZqP6iLRPe/GX93ZIeWHR0YgLGkHtyDDHB8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=KPah1MSwXtXeZjiVL/iFxWHoUiK111oBqcpRf8EO094=; b=aoQNfc4nIF4vzxzrHGe4pMg+1LDt7oCPYFD1D5G4EcxIZPBR/MSQ6ob7lSK84oNaMq Rl23McVE1ptbe1sWXAG/JN+ImZrP6eQSwj7d862K+j8Id00GQPk1Aku7cUMlscvCEgf1 Igm8qLgse//UJKbmGIyLlcPs4qE4mnapZciL6VmgVh21jngysT4ZWScftWxrNf5MasgC PDmEKOIRlcOnzC9ubBRX/nVNK7xl2bmypLJkoYfjQc+0XkLNtBn3F760NHDdYcrdFicT 3yGmrFeU9W/Zec2hqlg8RmmqyXASjMye7KPqZVz2/N34abqL4kCm74GB+5xm7lMX1So+ MvPw== X-Gm-Message-State: ALKqPwdAMjRU3k83L1GHSxxXass23Cgs1WoVkLmZXRHqXUfzwV3P8euY A+yFTMkQOFaLrv6JsA8o8A/veCItsec= X-Received: by 2002:a63:2c13:: with SMTP id s19-v6mr609247pgs.427.1527038353450; Tue, 22 May 2018 18:19:13 -0700 (PDT) Received: from localhost ([2620:0:1000:1600:3122:ea9c:d178:eb]) by smtp.gmail.com with ESMTPSA id f78-v6sm33690301pfk.138.2018.05.22.18.19.12 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 22 May 2018 18:19:12 -0700 (PDT) Date: Tue, 22 May 2018 18:19:11 -0700 From: Joel Fernandes To: "Paul E. McKenney" Cc: Steven Rostedt , byungchul.park@lge.com, mathieu.desnoyers@efficios.com, Josh Triplett , Lai Jiangshan , linux-kernel@vger.kernel.org, kernel-team@android.com Subject: Re: Tasks RCU vs Preempt RCU Message-ID: <20180523011911.GD55359@joelaf.mtv.corp.google.com> References: <20180519225905.GB134184@joelaf.mtv.corp.google.com> <20180520004938.GZ3803@linux.vnet.ibm.com> <20180520112843.57079857@grimm.local.home> <20180520191846.GA248075@joelaf.mtv.corp.google.com> <20180521215951.2d6abfcb@gandalf.local.home> <20180522045414.GG40541@joelaf.mtv.corp.google.com> <20180522083832.45353d5f@gandalf.local.home> <20180522160949.GU3803@linux.vnet.ibm.com> <20180522132700.68b6660d@gandalf.local.home> <20180522174711.GY3803@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180522174711.GY3803@linux.vnet.ibm.com> User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 22, 2018 at 10:47:11AM -0700, Paul E. McKenney wrote: > On Tue, May 22, 2018 at 01:27:00PM -0400, Steven Rostedt wrote: > > On Tue, 22 May 2018 09:09:49 -0700 > > "Paul E. McKenney" wrote: > > > > > Just for the record, if you guys realy want to take over Tasks RCU, > > > I have no objections. For one thing, I don't anticipate any other use > > > cases for it (famous last words!). But you break it, you buy it! ;-) > > > > It really matters how much of a burden is RCU_tasks to RCU itself? If > > it causes a lot of headache for you, and it prevents you from cleaning > > up RCU or making it better, then I would be happy to take it out of RCU > > and maintain it separately myself. But if that's not the case, I'm happy > > with keeping it within the RCU umbrella. Which brings me to the > > question of what motivation does Joel have to remove it? > > The burden on me from Tasks RCU has been quite light, so no need for a > change from my end. > > Over to you, Joel! ;-) My motivation was I felt RCU-preempt already did the same thing (which I still believe it does) so its redundant. Although now I'm convinced from our earlier discussions that its not feasible to do an rcu_read_lock and rcu_read_unlock in trampoline code. Sorry I didn't mean you should really nuke RCU-tasks if it has a purpose, but I was more trying to understand what its purpose was that RCU-preempt didn't solve. That's all. And welcome back from Vacation Steve. I'm about to send v7 of my preempt/irq tracepoint patches so the timing seems great. I hope you will be able to take a look at them. thanks! - Joel