Re: [PATCH 1/2] rcu-tasks: move RCU-tasks initialization out of core_initcall()

2020-12-10 Thread Uladzislau Rezki
Hello, Daniel. > Hi Vlad, > > >> Initialize the RCU-tasks earlier, before *_initcall() callbacks are > >> invoked. Do it after the workqueue subsytem is up and running. That > >> gives us a possibility to make use of synchronize_rcu_tasks*() wait > >> API in early_initcall() callbacks. > >> > >>

Re: [PATCH 1/2] rcu-tasks: move RCU-tasks initialization out of core_initcall()

2020-12-10 Thread Paul E. McKenney
On Fri, Dec 11, 2020 at 12:39:21AM +1100, Daniel Axtens wrote: > Hi Vlad, > > >> Initialize the RCU-tasks earlier, before *_initcall() callbacks are > >> invoked. Do it after the workqueue subsytem is up and running. That > >> gives us a possibility to make use of synchronize_rcu_tasks*() wait > >

Re: [PATCH 1/2] rcu-tasks: move RCU-tasks initialization out of core_initcall()

2020-12-10 Thread Daniel Axtens
Hi Vlad, >> Initialize the RCU-tasks earlier, before *_initcall() callbacks are >> invoked. Do it after the workqueue subsytem is up and running. That >> gives us a possibility to make use of synchronize_rcu_tasks*() wait >> API in early_initcall() callbacks. >> >> Fixes: 36dadef23fcc ("kprobes:

Re: [PATCH 1/2] rcu-tasks: move RCU-tasks initialization out of core_initcall()

2020-12-10 Thread Uladzislau Rezki
On Wed, Dec 09, 2020 at 07:26:13PM -0800, Paul E. McKenney wrote: > On Wed, Dec 09, 2020 at 09:27:31PM +0100, Uladzislau Rezki (Sony) wrote: > > Initialize the RCU-tasks earlier, before *_initcall() callbacks are > > invoked. Do it after the workqueue subsytem is up and running. That > > gives us a

Re: [PATCH 1/2] rcu-tasks: move RCU-tasks initialization out of core_initcall()

2020-12-09 Thread Paul E. McKenney
On Wed, Dec 09, 2020 at 09:27:31PM +0100, Uladzislau Rezki (Sony) wrote: > Initialize the RCU-tasks earlier, before *_initcall() callbacks are > invoked. Do it after the workqueue subsytem is up and running. That > gives us a possibility to make use of synchronize_rcu_tasks*() wait > API in early_i

Re: [PATCH 1/2] rcu-tasks: move RCU-tasks initialization out of core_initcall()

2020-12-09 Thread Uladzislau Rezki
> Initialize the RCU-tasks earlier, before *_initcall() callbacks are > invoked. Do it after the workqueue subsytem is up and running. That > gives us a possibility to make use of synchronize_rcu_tasks*() wait > API in early_initcall() callbacks. > > Fixes: 36dadef23fcc ("kprobes: Init kprobes in