×

Using expedited grace periods to short-circuit normal grace-period computations

  • US 10,372,510 B2
  • Filed: 03/15/2017
  • Issued: 08/06/2019
  • Est. Priority Date: 03/15/2017
  • Status: Active Grant
First Claim
Patent Images

1. A method for short-circuiting normal read-copy update (RCU) grace period computations in the presence of expedited RCU grace periods, said method comprising:

  • periodically performing normal RCU grace period processing that reports normal quiescent states on behalf of CPUs in a set of CPUs until a normal quiescent state has been reported on behalf of all of said CPUs in said set of CPUs, thereby allowing a normal RCU grace period to end;

    periodically performing expedited RCU grace period processing that reports expedited quiescent states on behalf of CPUs in said set of CPUs until an expedited quiescent state has been reported on behalf of all of said CPUs in said set of CPUs, thereby allowing an expedited RCU grace period to end;

    said expedited grace period being of shorter duration than said normal grace period;

    responsive to a condition indicating that said normal RCU grace period processing can be short-circuited by said expedited RCU grace period processing, using said expedited RCU grace period processing to report both expedited quiescent states and normal quiescent states on behalf of the same CPUs in said set of CPUs.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×