Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp1185530ybk; Sun, 10 May 2020 08:43:36 -0700 (PDT) X-Google-Smtp-Source: APiQypK37Iov8hw9BqL803AUdrSRdTr/v50Q3ja4JD/CpIYtowMvME0Un+cxGS00ra264NMqesBZ X-Received: by 2002:a17:906:f916:: with SMTP id lc22mr9907637ejb.53.1589125416084; Sun, 10 May 2020 08:43:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589125416; cv=none; d=google.com; s=arc-20160816; b=c9FhS4/TanmQqJtZ6VwJQM3Nkc7un9oDC2kL9+3DjF/o+6Ip4ff/vhhsPXsl/y4c1Q bhK2h4noXPwjgGu2pI7bFokT68OMg4u04GtusNdJjdJ/24K03ZKOPD7GRmvKAE5N7yTn GodAlDBNtsnqtpGr8t1G7j0NhbJzn/GVbVPjXMqqlTtT9v99VKe1en9C5YRbHfRksH+T rv+67rg0JQEqHWKB+A69/gg3xPbGrZcktC9pJ1n4UW+6BZfeKRKzaxwgvG+EUHPwbrKJ 8XbrOheK13jQWWz3cfB21jNyMH6Mtysm8Cmna3NV7QLCL8v0rMzn8vylZ2EfbLyVYUeu 0S+w== 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:reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=y6OAK5N9MKmzQBcq8n563JEbzUhSFJu2D8ZCGoTgasY=; b=CU9is+YsQDuY8eJZOwmWfBo8pay0cXOe566XLe4LcOK9G3zE8RNH5PM8Ra2OGYcixT 8WZsdIFtd/Ta0n5N+bh3HzNLHEMmQ1/GaPmKRRdI7nVgEnQF6Jty6yRDDDUp24zcWB73 zAAwKDfb2lMrEdDcoPJdyGd6G2kvYsnD8OoRWPcol9D/gGhKrqo6pMlT29R21u+RkC6U gLuGrhMGU+Hv/scRA+KONCLVVKr7fw9ZoEnbGTCGxykEqOipp2uQuEEFVWAD6QGiiuKG Gm2G/WuHYTPO3jfb7fXVpYtFb0aciiA0XU2CjBivLcoQ9qptgcVdQy+kUr6ZtmExko62 UrcA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="Z/QDZ92z"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j13si4806751edt.371.2020.05.10.08.43.12; Sun, 10 May 2020 08:43:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="Z/QDZ92z"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728990AbgEJPjq (ORCPT + 99 others); Sun, 10 May 2020 11:39:46 -0400 Received: from mail.kernel.org ([198.145.29.99]:42638 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726104AbgEJPjq (ORCPT ); Sun, 10 May 2020 11:39:46 -0400 Received: from paulmck-ThinkPad-P72.home (50-39-105-78.bvtn.or.frontiernet.net [50.39.105.78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 6AC1620735; Sun, 10 May 2020 15:39:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1589125185; bh=8h9ahc3Yu0709/yHwkE2qnpvfiOpmtIhCGjy6Ha1M9o=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To:From; b=Z/QDZ92zpK6sKhzEYZlwOp/G+FioCsnhyCIalaRJRgdje5ZgE25HoOJFdUxNUld2D KP3VckYHwmif+67A24ts5hdCAIRUig7BPsHjZvhiOEvLomLF+bMFB+csYTNEnaWwrr wDCqc6B8ouMc8E0TqDOlYr7iuiDczLLrY1f4uMlA= Received: by paulmck-ThinkPad-P72.home (Postfix, from userid 1000) id 1677535227BD; Sun, 10 May 2020 08:39:45 -0700 (PDT) Date: Sun, 10 May 2020 08:39:45 -0700 From: "Paul E. McKenney" To: Lai Jiangshan Cc: rcu@vger.kernel.org, LKML , kernel-team , Ingo Molnar , dipankar@in.ibm.com, Andrew Morton , Mathieu Desnoyers , Josh Triplett , Thomas Gleixner , Peter Zijlstra , Steven Rostedt , David Howells , Eric Dumazet , =?iso-8859-1?Q?Fr=E9d=E9ric?= Weisbecker , Oleg Nesterov , Joel Fernandes Subject: Re: [PATCH v4 tip/core/rcu 05/38] rcu-tasks: Move Tasks RCU to its own file Message-ID: <20200510153945.GQ2869@paulmck-ThinkPad-P72> Reply-To: paulmck@kernel.org References: <20200415181856.GA11037@paulmck-ThinkPad-P72> <20200415181941.11653-5-paulmck@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, May 10, 2020 at 03:42:52PM +0800, Lai Jiangshan wrote: > On Thu, Apr 16, 2020 at 2:19 AM wrote: > > > > From: "Paul E. McKenney" > > > > This code-movement-only commit is in preparation for adding an additional > > flavor of Tasks RCU, which relies on workqueues to detect grace periods. > > > > Signed-off-by: Paul E. McKenney > > --- > > kernel/rcu/tasks.h | 370 ++++++++++++++++++++++++++++++++++++++++++++++++++++ > > kernel/rcu/update.c | 366 +-------------------------------------------------- > > Hello Paul > > Makes it kernel/rcu/tasks.c? > > One of my old patch split it into a c-file, and it did work. > Is there anything new or planed that prevents it to be a c-file? It quite likely could be a c-file, but let's see things play out with your suggestion of replacing Tasks RCU with a check in the scheduler before making such a change. Thanx, Paul > thanks > Lai > > > > > +#include "tasks.h" > > + > > #ifndef CONFIG_TINY_RCU > > > > /* > > -- > > 2.9.5 > >