lkml.org 
[lkml]   [2005]   [Jun]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] local_irq_disable removal


    On Sat, 11 Jun 2005, Ingo Molnar wrote:

    >
    > one way to make it safe/reviewable is to runtime warn if
    > local_irq_disable() is called from a !preempt_count() section. But this
    > will uncover quite some code. There's some code in the VM, in the
    > buffer-cache, in the RCU code - etc. that uses per-CPU data structures
    > and assumes non-preemptability of local_irq_disable().


    Are you talking about make those section preemptible? Or a safety problem
    in the current method.

    Daniel

    -
    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-06-11 18:23    [W:0.026 / U:122.612 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site