Short-circuiting normal grace-period computations in the presence of expedited grace periods
First Claim
1. A system, comprising:
- a plurality of CPUs;
a memory coupled to said CPUs, said memory including a computer readable storage medium tangibly embodying at least one program of instructions executable by said CPUs to perform operations for short-circuiting normal read-copy update (RCU) grace period computations in the presence of expedited RCU grace periods, said operations comprising;
determining during normal RCU grace period processing whether at least one expedited RCU grace period has elapsed during a normal RCU grace period;
if at least one expedited RCU grace period has elapsed during said normal RCU grace period, ending said normal RCU grace period;
if at least one expedited RCU grace period has not elapsed during said normal RCU grace period, continuing said normal RCU grace period processing;
said expedited RCU grace periods being implemented by expedited RCU grace period processing that periodically awakens a kernel thread that implements said normal RCU grace period processing;
said expedited RCU grace period processing conditionally throttling wakeups to said kernel thread based on CPU utilization.
1 Assignment
0 Petitions
Accused Products
Abstract
A technique for short-circuiting normal read-copy update (RCU) grace period computations in the presence of expedited RCU grace periods. The technique may include determining during normal RCU grace period processing whether at least one expedited RCU grace period elapsed during a normal RCU grace period. If so, the normal RCU grace period is ended. If not, the normal RCU grace period processing is continued. Expedited RCU grace periods may be implemented by expedited RCU grace period processing that periodically awakens a kernel thread that implements the normal RCU grace period processing. The expedited RCU grace period processing may conditionally throttle wakeups to the kernel thread based on CPU utilization.
57 Citations
13 Claims
-
1. A system, comprising:
-
a plurality of CPUs; a memory coupled to said CPUs, said memory including a computer readable storage medium tangibly embodying at least one program of instructions executable by said CPUs to perform operations for short-circuiting normal read-copy update (RCU) grace period computations in the presence of expedited RCU grace periods, said operations comprising; determining during normal RCU grace period processing whether at least one expedited RCU grace period has elapsed during a normal RCU grace period; if at least one expedited RCU grace period has elapsed during said normal RCU grace period, ending said normal RCU grace period; if at least one expedited RCU grace period has not elapsed during said normal RCU grace period, continuing said normal RCU grace period processing; said expedited RCU grace periods being implemented by expedited RCU grace period processing that periodically awakens a kernel thread that implements said normal RCU grace period processing; said expedited RCU grace period processing conditionally throttling wakeups to said kernel thread based on CPU utilization. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A computer program product, comprising:
-
one or more computer readable data storage media; program instructions stored on said one or more computer readable data storage media for programming a data processing platform having a plurality of CPUs to perform operations for short-circuiting normal read-copy update (RCU) grace period computations in the presence of expedited RCU grace periods, said operations comprising; determining during normal RCU grace period processing whether at least one expedited RCU grace period has elapsed during a normal RCU grace period; if at least one expedited RCU grace period has elapsed during said normal RCU grace period, ending said normal RCU grace period; if at least one expedited RCU grace period has not elapsed during said normal RCU grace period, continuing said normal RCU grace period processing; said expedited RCU grace periods being implemented by expedited RCU grace period processing that periodically awakens a kernel thread that implements said normal RCU grace period processing; said expedited RCU grace period processing conditionally throttling wakeups to said kernel thread based on CPU utilization. - View Dependent Claims (9, 10, 11, 12, 13)
-
Specification