lkml.org 
[lkml]   [2010]   [Mar]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH -tip] rcu: local_irq_disable() also delimits RCU_SCHED read-site critical sections

    * Lai Jiangshan <laijs@cn.fujitsu.com> wrote:

    > It is documented that local_irq_disable() also delimits
    > RCU_SCHED read-site critical sections.
    > See the document of synchronize_sched() or
    > Documentation/RCU/whatisRCU.txt.
    >
    > So we have to test irqs_disabled() in rcu_read_lock_sched_held().
    > Otherwise rcu-lockdep brings incorrect complaint.

    It would be useful to include the warning in question in the changelog - so
    that others who might be affected by it can see the fix and can track its
    progress. (and dont start a parallel effort debugging/reporting/fixing it)

    Thanks,

    Ingo


    \
     
     \ /
      Last update: 2010-03-16 12:31    [W:3.143 / U:0.024 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site