Re: [PATCH] rcu: Convert timers to use timer_setup()

2017-10-30 Thread Paul E. McKenney
On Mon, Oct 30, 2017 at 02:13:03PM -0700, Kees Cook wrote: > On Mon, Oct 30, 2017 at 11:04 AM, Paul E. McKenney > wrote: > > On Tue, Oct 24, 2017 at 02:32:04AM -0700, Kees Cook wrote: > >> In preparation for unconditionally passing the struct timer_list pointer to > >>

Re: [PATCH] rcu: Convert timers to use timer_setup()

2017-10-30 Thread Paul E. McKenney
On Mon, Oct 30, 2017 at 02:13:03PM -0700, Kees Cook wrote: > On Mon, Oct 30, 2017 at 11:04 AM, Paul E. McKenney > wrote: > > On Tue, Oct 24, 2017 at 02:32:04AM -0700, Kees Cook wrote: > >> In preparation for unconditionally passing the struct timer_list pointer to > >> all timer callbacks, switch

Re: [PATCH] rcu: Convert timers to use timer_setup()

2017-10-30 Thread Kees Cook
On Mon, Oct 30, 2017 at 11:04 AM, Paul E. McKenney wrote: > On Tue, Oct 24, 2017 at 02:32:04AM -0700, Kees Cook wrote: >> In preparation for unconditionally passing the struct timer_list pointer to >> all timer callbacks, switch to using the new timer_setup() and

Re: [PATCH] rcu: Convert timers to use timer_setup()

2017-10-30 Thread Kees Cook
On Mon, Oct 30, 2017 at 11:04 AM, Paul E. McKenney wrote: > On Tue, Oct 24, 2017 at 02:32:04AM -0700, Kees Cook wrote: >> In preparation for unconditionally passing the struct timer_list pointer to >> all timer callbacks, switch to using the new timer_setup() and from_timer() >> to pass the timer

Re: [PATCH] rcu: Convert timers to use timer_setup()

2017-10-30 Thread Paul E. McKenney
On Wed, Oct 25, 2017 at 04:17:32PM +0200, Kees Cook wrote: > Sorry, I sent this and forgot that timer_setup_on_stack() is only in > -next. If this patch is okay, I can carry it in the timers tree. Given the fixes I called out, I am fine with your carrying it separately.

Re: [PATCH] rcu: Convert timers to use timer_setup()

2017-10-30 Thread Paul E. McKenney
On Wed, Oct 25, 2017 at 04:17:32PM +0200, Kees Cook wrote: > Sorry, I sent this and forgot that timer_setup_on_stack() is only in > -next. If this patch is okay, I can carry it in the timers tree. Given the fixes I called out, I am fine with your carrying it separately.

Re: [PATCH] rcu: Convert timers to use timer_setup()

2017-10-30 Thread Paul E. McKenney
On Tue, Oct 24, 2017 at 02:32:04AM -0700, Kees Cook wrote: > In preparation for unconditionally passing the struct timer_list pointer to > all timer callbacks, switch to using the new timer_setup() and from_timer() > to pass the timer pointer explicitly. > > Cc: "Paul E. McKenney"

Re: [PATCH] rcu: Convert timers to use timer_setup()

2017-10-30 Thread Paul E. McKenney
On Tue, Oct 24, 2017 at 02:32:04AM -0700, Kees Cook wrote: > In preparation for unconditionally passing the struct timer_list pointer to > all timer callbacks, switch to using the new timer_setup() and from_timer() > to pass the timer pointer explicitly. > > Cc: "Paul E. McKenney" > Cc: Josh

Re: [PATCH] rcu: Convert timers to use timer_setup()

2017-10-25 Thread Kees Cook
Sorry, I sent this and forgot that timer_setup_on_stack() is only in -next. If this patch is okay, I can carry it in the timers tree. Thanks! -Kees On Tue, Oct 24, 2017 at 11:32 AM, Kees Cook wrote: > In preparation for unconditionally passing the struct timer_list

Re: [PATCH] rcu: Convert timers to use timer_setup()

2017-10-25 Thread Kees Cook
Sorry, I sent this and forgot that timer_setup_on_stack() is only in -next. If this patch is okay, I can carry it in the timers tree. Thanks! -Kees On Tue, Oct 24, 2017 at 11:32 AM, Kees Cook wrote: > In preparation for unconditionally passing the struct timer_list pointer to > all timer

[PATCH] rcu: Convert timers to use timer_setup()

2017-10-24 Thread Kees Cook
In preparation for unconditionally passing the struct timer_list pointer to all timer callbacks, switch to using the new timer_setup() and from_timer() to pass the timer pointer explicitly. Cc: "Paul E. McKenney" Cc: Josh Triplett Cc: Steven

[PATCH] rcu: Convert timers to use timer_setup()

2017-10-24 Thread Kees Cook
In preparation for unconditionally passing the struct timer_list pointer to all timer callbacks, switch to using the new timer_setup() and from_timer() to pass the timer pointer explicitly. Cc: "Paul E. McKenney" Cc: Josh Triplett Cc: Steven Rostedt Cc: Mathieu Desnoyers Cc: Lai Jiangshan