OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c36d87
)
locking/lockdep: Avoid RCU-induced noinstr fail
author
Peter Zijlstra
<peterz@infradead.org>
Thu, 24 Jun 2021 09:41:10 +0000
(11:41 +0200)
committer
Peter Zijlstra
<peterz@infradead.org>
Wed, 15 Sep 2021 13:51:47 +0000
(15:51 +0200)
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>
Link:
https://lore.kernel.org/r/20210624095148.311980536@infradead.org
kernel/locking/lockdep.c
patch
|
blob
|
history
diff --git
a/kernel/locking/lockdep.c
b/kernel/locking/lockdep.c
index
bf1c00c
..
8a50967
100644
(file)
--- a/
kernel/locking/lockdep.c
+++ b/
kernel/locking/lockdep.c
@@
-888,7
+888,7
@@
look_up_lock_class(const struct lockdep_map *lock, unsigned int subclass)
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