rcu_is_watching(9) see if RCU thinks that the current CPU is idle

SYNOPSIS

bool notrace rcu_is_watching(void);

ARGUMENTS

void

no arguments

DESCRIPTION

If the current CPU is in its idle loop and is neither in an interrupt or NMI handler, return true.

COPYRIGHT