×

Scalable RCU callback offloading

  • US 9,886,329 B2
  • Filed: 06/25/2015
  • Issued: 02/06/2018
  • Est. Priority Date: 06/25/2015
  • Status: Active Grant
First Claim
Patent Images

1. A method for scaling Read-Copy Update (RCU) callback offloading, comprising:

  • designating a set of CPUs in a computer system as no-callbacks (No-CBs) CPUs that do not perform RCU callback processing;

    spawning a set of RCU callback offload kernel threads (rcuo kthreads) that are each assigned to one of said No-CBs CPUs to invoke RCU callbacks generated by workloads running on said No-CBs CPUs at CPUs that are not No-CBs CPUs;

    establishing groups of said rcuo kthreads, each rcuo kthread group having one leader rcuo kthread and one or more follower rcuo kthreads;

    periodically waking up said leader rcuo kthreads without waking up said follower rcuo kthreads when an RCU grace period ends and an RCU callback needs to be invoked, or when a new RCU callback arrives and a new RCU grace period needs to be started; and

    said leader rcuo kthreads periodically waking up their associated follower rcuo kthreads for which said leader rcuo kthreads have sole responsibility to wake.

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