lkml.org 
[lkml]   [2017]   [Nov]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] block/aoe: discover_timer: Convert timers to use timer_setup()
From
Date
On 11/02/2017 07:31 PM, 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.
>
> This refactors the discover_timer to remove the needless locking and
> state machine used for synchronizing timer death. Using del_timer_sync()
> will already do the right thing.

Looks OK to me, thanks.

--
Ed

\
 
 \ /
  Last update: 2017-11-04 02:01    [W:0.038 / U:0.484 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site