On Tue, May 31, 2022 at 12:25:32PM -0700, Paul E. McKenney wrote: > On Tue, May 31, 2022 at 06:51:48PM +0000, Joel Fernandes wrote: > > On Tue, May 31, 2022 at 09:45:34AM -0700, Paul E. McKenney wrote: > > [ . . . ] > > > > Here is hoping! > > > > > > After all, if you thought that taking care of applications that need > > > expediting of grace periods is scary, well, now... > > > > Haha... my fear is I don't know all the applications requiring expedited GP > > and I keep getting surprised by new RCU usages that pop up in the system, or > > new systems. > > > > For one, a number of tools and processes, use ftrace directly in the system, > > and it may not be practical to chase down every tool. Some of them start > > tracing randomly in the system. Handling it in-kernel itself would be best if > > possible. > > Shouldn't it be possible to hook into the kernel code that runs when > the sysfs tracing files are updated? As in, why not both? ;-) Yes, Point taken on this, let us do both solutions. thanks, - Joel