rcu/tree: nocb: Avoid raising softirq when there are ready to execute CBs

During testing, I see it is possible that rcu_pending() returns 1 when
offloaded callbacks are ready to execute thus raising the RCU softirq.

However, softirq does not execute offloaded callbacks. They are executed in a
kthread which is awakened independent of the softirq.

This commit therefore avoids raising the softirq in the first place. That's
probably a good thing considering that the purpose of callback offloading is to
reduce softirq activity.

Passed 30 minute tests of TREE01 through TREE09 each.

On TREE08, I notice that there is atmost 150us from when the softirq was
NOT raised when ready cbs were present, to when the ready callbacks were
invoked by the rcuop thread. This also further confirms that there is no
need to raise the softirq for ready cbs in the first place.

Cc: neeraju@codeaurora.org
Signed-off-by: Joel Fernandes (Google) <joel@joelfernandes.org>
option-prefix PATCH v2
option-start

diff-note-start

v1->v2: Also cleaned up another test of the nocb configuration macro.
1 file changed