Messages in this thread | | | Date | Sun, 10 May 2020 08:39:45 -0700 | From | "Paul E. McKenney" <> | Subject | Re: [PATCH v4 tip/core/rcu 05/38] rcu-tasks: Move Tasks RCU to its own file |
| |
On Sun, May 10, 2020 at 03:42:52PM +0800, Lai Jiangshan wrote: > On Thu, Apr 16, 2020 at 2:19 AM <paulmck@kernel.org> wrote: > > > > From: "Paul E. McKenney" <paulmck@kernel.org> > > > > 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 <paulmck@kernel.org> > > --- > > 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 > >
| |