Enabling Real-Time CPU-Bound In-Kernel Workloads To Run Infinite Loops While Keeping RCU Grace Periods Finite
1 Assignment
0 Petitions
Accused Products
Abstract
A technique for enabling real-time CPU-bound in-kernel workloads to run infinite loops while keeping read-copy update (RCU) grace periods finite. In an embodiment, a per-CPU indicator may be set to indicate that a CPU running the CPU-bound in-kernel workload has not reported an RCU quiescent state within a defined time. A function may be invoked from within the workload that causes an RCU quiescent state to be reported on behalf of the CPU if the per-CPU indicator is set. If the RCU quiescent state is not reported within a longer defined time, the CPU may be rescheduled.
-
Citations
20 Claims
-
1-7. -7. (canceled)
-
8. :
- A system, comprising;
a plurality of CPUs; a memory coupled to the CPUs, the memory including a non-transitory computer readable storage medium tangibly embodying at least one program of instructions executable by the CPUs to perform operations for enabling real-time CPU-bound in-kernel workloads to run infinite loops while keeping read-copy update (RCU) grace periods finite, the operations 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. - View Dependent Claims (9, 10, 11, 12, 13, 14)
- A system, comprising;
-
15. :
- A computer program product, comprising;
one or more non-transitory computer readable data storage media; program instructions stored on the one or more computer readable data storage media for programming a data processing platform having a plurality of CPUs to perform operations for enabling real-time CPU-bound in-kernel workloads to run infinite loops while keeping read-copy update (RCU) grace periods finite, the operations 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. - View Dependent Claims (16, 17, 18, 19, 20)
- A computer program product, comprising;
Specification