Query: rcu_read_lock_bh_held
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
RCU_READ_LOCK_BH_HEL(9) Driver Basics RCU_READ_LOCK_BH_HEL(9)NAMErcu_read_lock_bh_held - might we be in RCU-bh read-side critical section?SYNOPSISint rcu_read_lock_bh_held(void);ARGUMENTSvoid no argumentsDESCRIPTIONCheck for bottom half being disabled, which covers both the CONFIG_PROVE_RCU and not cases. Note that if someone uses rcu_read_lock_bh, but then later enables BH, lockdep (if enabled) will show the situation. This is useful for debug checks in functions that require that they be called within an RCU read-side critical section. Check debug_lockdep_rcu_enabled to prevent false positives during boot. Note that rcu_read_lock is disallowed if the CPU is either idle or offline from an RCU perspective, so check for those as well.COPYRIGHTKernel Hackers Manual 3.10 June 2014 RCU_READ_LOCK_BH_HEL(9)