diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/rcupdate.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/rcupdate.h b/include/linux/rcupdate.h index 36ea3ba5c516..ae6942a84a0d 100644 --- a/include/linux/rcupdate.h +++ b/include/linux/rcupdate.h | |||
| @@ -887,7 +887,9 @@ static inline void rcu_read_lock(void) | |||
| 887 | * Unfortunately, this function acquires the scheduler's runqueue and | 887 | * Unfortunately, this function acquires the scheduler's runqueue and |
| 888 | * priority-inheritance spinlocks. This means that deadlock could result | 888 | * priority-inheritance spinlocks. This means that deadlock could result |
| 889 | * if the caller of rcu_read_unlock() already holds one of these locks or | 889 | * if the caller of rcu_read_unlock() already holds one of these locks or |
| 890 | * any lock that is ever acquired while holding them. | 890 | * any lock that is ever acquired while holding them; or any lock which |
| 891 | * can be taken from interrupt context because rcu_boost()->rt_mutex_lock() | ||
| 892 | * does not disable irqs while taking ->wait_lock. | ||
| 891 | * | 893 | * |
| 892 | * That said, RCU readers are never priority boosted unless they were | 894 | * That said, RCU readers are never priority boosted unless they were |
| 893 | * preempted. Therefore, one way to avoid deadlock is to make sure | 895 | * preempted. Therefore, one way to avoid deadlock is to make sure |
