1. A method for enabling real-time CPU-bound in-kernel workloads to run infinite loops while keeping read-copy update (RCU) grace periods finite, said method comprising: setting a per-CPU indicator to indicate that a CPU running the CPU-bound in-kernel workload has not reported an RCU quiescent state within a defined time; invoking from within the workload a function that causes an RCU quiescent state to be reported on behalf of the CPU if the per-CPU indicator is set; and if the RCU quiescent state is not reported within a longer defined time, rescheduling the CPU.