[lkml]   [1999]   [Dec]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: timer_bh behaviour incorrect for 2.2.13?
    On Thu, 9 Dec 1999, William Montgomery wrote:

    >I dont see how a timer IRQ could occur while run_bottom_halves is

    The timer interrupt happens in the middle of the bottom half, and when the
    bh complete it doesn't check if there's something new marked. But the
    timer interrupt could happen also in the other CPU a picosecond before
    we'll release the global_bh_count lock. So to fix all races a spinlock is
    necessary. For UP a pair of __sti(); __cli() inside the while( active = )
    would be enough (and I did it yesterday night). But that's not enough for


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

     \ /
      Last update: 2005-03-22 13:55    [W:0.018 / U:4.428 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site