lkml.org 
[lkml]   [2004]   [Dec]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: RCU question
    George Anzinger wrote:

    >
    > The "normal" idle loop just looks at the need_resched flag and goes
    > right back to the hlt,

    That's the problem: If a the tasklet does a wakeup then the reschedule
    is delayed until the next interrupt. Testing need_resched and executing
    hlt must be atomic, but it isn't - NMIs break the atomicity.
    Not a big deal, except if someone implements a tickless kernel. I think
    we can ignore it for now [or was the thread started by someone who
    want's to disable the hardware timer when the system is really idle?]

    --
    Manfred
    -
    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:08    [W:3.683 / U:0.996 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site