Function finish_grace_period

Source
pub unsafe fn finish_grace_period()
Expand description

Finishes the current grace period.

This function is called when the current grace period on current CPU is finished. If this CPU is the last CPU to finish the current grace period, it takes all the current callbacks and invokes them.

ยงSafety

The caller must ensure that this CPU is not executing in a RCU read-side critical section.