// wdm.h
VOID KeRcuReadUnlock();
View the official Windows Driver Kit DDI referenceNo description available.
The KeRcuReadUnlock function exits a RCU (Read-Copy-Update) read-side critical section in the default RCU domain that was previously entered with KeRcuReadLock.
This function unpins the calling thread from its processor, restores the original IRQL if needed, and performs any necessary grace period reporting to advance RCU synchronization.
KeRcuReadUnlock must be called to exit every RCU read-side critical section that was entered with KeRcuReadLock. Calls must be properly nested (LIFO order) when using nested RCU read-side critical sections.
After calling KeRcuReadUnlock:
This function can be called from any IRQL. The function automatically handles IRQL restoration; that is, if the original IRQL before the corresponding KeRcuReadLock was below DISPATCH_LEVEL, it will be restored to that level.
This function uses the default RCU domain, making it suitable for simple RCU use cases. For more complex scenarios requiring custom synchronization domains, use KeSrcuReadUnlock with an explicit SRCU partition.