Adapting RCU for real-time operating system usage
First Claim
1. A method for operating a single CPU computer system comprising:
- traversing an RCU protected data structure by a first function without other processes being made aware of said traversal;
removing an element from said data structure;
determining if said element can be immediately freed from memory; and
immediately freeing said element from memory in response to a positive determination.
1 Assignment
0 Petitions
Accused Products
Abstract
A system and method is provided to support immediate freeing of a designated element from memory. Following a process of designating an element for removal from a data-structure, conditional limitations are used to determine if immediate freeing of the element from memory is available. The conditional limitations include determining that the instruction originates from a uniprocessor computer system. In addition, the conditional limitations include a determination as to whether a call_rcu primitive or synchronize_kernel primitive may be omitted, or whether the computer implemented instruction is operating in an interrupt handler. If the conditional limitations are met, the designated element may be immediately freed from memory.
13 Citations
22 Claims
-
1. A method for operating a single CPU computer system comprising:
-
traversing an RCU protected data structure by a first function without other processes being made aware of said traversal;
removing an element from said data structure;
determining if said element can be immediately freed from memory; and
immediately freeing said element from memory in response to a positive determination. - View Dependent Claims (2, 3, 4, 5, 6, 7, 10, 13, 14)
-
-
8. A single CPU computer system comprising:
-
a first function adapted to traverse an RCU protected data structure without awareness by other processes of said traversal;
an element adapted to be removed from said data structure;
a memory manager adapted to determine if said element can be immediately freed from memory; and
a removal manager adapted to immediately free said element from memory in response to receipt of a positive determination from said memory manager. - View Dependent Claims (9, 11, 12)
-
-
15. An article comprising:
-
a computer-readable signal-bearing medium;
means in the medium for traversing an RCU protected data structure by a first function without awareness by other processes of said traversal;
means in the medium for removing an element from said data structure;
means in the medium for determining if said element can be immediately freed from memory; and
means in the medium for immediately freeing said element from memory in response to a positive determination. - View Dependent Claims (16, 17, 18, 19, 20, 21, 22)
-
Specification