主权项 |
1. A method for performing a batch processing, comprising:
initializing, by a processor coupled to a memory, a set of elements corresponding to a first set of resources to produce an initialized group, wherein the initializing of the set of elements is performed without a system lock; chaining, by the processor, the initialized group to previously initialized elements to produce an element batch when the previously initialized elements are available, wherein the chaining of the initialized group is performed without the system lock and wherein the previously initialized elements correspond to a second set of resources; setting, by the processor, the system lock on the first and second set of resources in accordance with the element batch after the initialized group is chained to the previously initialized elements; executing, by the processor, a service routine to move the element batch to a queue, wherein the service routine increases an efficiency of the batch processing by referencing only first and last elements of the element batch and not middle elements of the element batch; and releasing, by the processor, the system lock on the set of resources once the service routine is complete. |