lkml.org 
[lkml]   [2005]   [Mar]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [patch] del_timer_sync scalability patch
    On Tue, 8 Mar 2005, Andrew Morton wrote:

    > If we're prepared to rule that a timer handler is not allowed to do
    > add_timer_on() then a recurring timer is permanently pinned to a CPU, isn't
    > it?

    The process may be rescheduled to run on different processor. Then the
    add_timer() function (called from schedule_next_timer in
    kernel/posix-timers.c) will also add the timer to the new processor
    because it is called from the signal handling code. So I think that it
    is possible that a periodic timer will be scheduled on different
    processors.
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

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