rcu_read_lock_bh_held

Langue: en

Version: October 2010 (fedora - 01/12/10)

Section: 9 (Appels noyau Linux)

NAME

rcu_read_lock_bh_held - might we be in RCU-bh read-side critical section?

SYNOPSIS

int rcu_read_lock_bh_held(void);

ARGUMENTS

void

no arguments

DESCRIPTION

Check 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.

Check debug_lockdep_rcu_enabled to prevent false positives during boot.