lkml.org 
[lkml]   [2021]   [Jun]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH v2 11/24] locking/lockdep: Avoid RCU-induced noinstr fail
    vmlinux.o: warning: objtool: look_up_lock_class()+0xc7: call to rcu_read_lock_any_held() leaves .noinstr.text section

    Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
    ---
    kernel/locking/lockdep.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    --- a/kernel/locking/lockdep.c
    +++ b/kernel/locking/lockdep.c
    @@ -888,7 +888,7 @@ look_up_lock_class(const struct lockdep_
    if (DEBUG_LOCKS_WARN_ON(!irqs_disabled()))
    return NULL;

    - hlist_for_each_entry_rcu(class, hash_head, hash_entry) {
    + hlist_for_each_entry_rcu_notrace(class, hash_head, hash_entry) {
    if (class->key == key) {
    /*
    * Huh! same key, different name? Did someone trample

    \
     
     \ /
      Last update: 2021-06-24 11:57    [W:3.253 / U:0.824 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site