lkml.org 
[lkml]   [2002]   [Oct]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] NMI request/release
    Robert Love wrote:

    >On Tue, 2002-10-22 at 09:02, Corey Minyard wrote:
    >
    >
    >
    >>I looked, and the rcu code relys on turning off interrupts to avoid
    >>preemption. So it won't work.
    >>
    >>
    >
    >At least on the variant of RCU that is in 2.5, the RCU code does the
    >read side by disabling preemption. Nothing else.
    >
    In 2.5.44, stock from kernel.org, rcu_process_callbacks() calls
    local_irq_disable(). Is that just preemption disabling, now?

    >The write side is the same with or without preemption - wait until all
    >readers are quiescent, change the copy, etc.
    >
    >But anyhow, disabling interrupts should not affect NMIs, no?
    >
    You are correct. disabling preemption or interrupts has no effect on NMIs.

    -Corey

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