[lkml]   [2005]   [Mar]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH 0/2] del_timer_sync: proof of concept
    Christoph Lameter wrote:
    > However, this also means that __run_timers will not free up the timer and
    > it has to be explicitly freed with del_timer_??.

    I am not sure I understand you but no, del_timer{,_sync} is not needed.

    __run_timer deletes timer from base->tv? list and clears 'pending flag'.

    __del_timer_sync sets ->_base = NULL, but it is merely optimization.
    It could set ->_base = base, but in that case next del_timer_sync()
    call will need spin_lock(base->lock) again.

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 14:11    [W:0.021 / U:30.044 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site