US 11,726,814 B2
Resource availability management using real-time task manager in multi-core system
Anjandeep Singh Sahni, Bengaluru (IN); Pratheesh Gangadhar Thalakkal Kottilaveedu, Bengaluru (IN); and William Cronin Wallace, Richardson, TX (US)
Assigned to Texas Instruments Incorporated, Dallas, TX (US)
Filed by TEXAS INSTRUMENTS INCORPORATED, Dallas, TX (US)
Filed on May 29, 2019, as Appl. No. 16/425,678.
Claims priority of provisional application 62/677,878, filed on May 30, 2018.
Prior Publication US 2019/0370063 A1, Dec. 5, 2019
Int. Cl. G06F 9/48 (2006.01); G06F 9/52 (2006.01); G06F 9/50 (2006.01); G06F 9/448 (2018.01); G06F 16/9035 (2019.01); G06F 1/06 (2006.01); G06F 13/20 (2006.01); G06F 13/28 (2006.01); G06F 13/40 (2006.01); G06F 11/10 (2006.01); H04L 1/00 (2006.01)
CPC G06F 9/4881 (2013.01) [G06F 1/06 (2013.01); G06F 9/448 (2018.02); G06F 9/5011 (2013.01); G06F 9/5016 (2013.01); G06F 9/5038 (2013.01); G06F 9/52 (2013.01); G06F 11/1004 (2013.01); G06F 13/20 (2013.01); G06F 13/28 (2013.01); G06F 13/4068 (2013.01); G06F 16/9035 (2019.01); H04L 1/0041 (2013.01); G06F 2209/503 (2013.01); G06F 2209/5012 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A computing resource allocation method, comprising:
beginning, using a processor, a performance of a first task, the first task comprising a first plurality of operations;
determining, using a task manager circuit during the performance of the first task, that a first operation from among the first plurality of operations utilizes a resource, wherein the resource is external to the processor;
determining, using a spinlock circuit, that the resource is currently unavailable for use by the processor;
pausing, under control of the task manager circuit, the performance of the first task at the processor;
beginning, using the processor, a performance of a second task;
during the performance of the second task, receiving, at the task manager circuit, a notice from the spinlock circuit that the resource is currently available for use by the processor, wherein the task manager circuit is configured to recognize at least ten events that correspond to a flag from the spinlock circuit that indicates that a respective shared resource is available; and
in response to the notice:
determining whether to preempt the second task to resume the first task based on a priority of the first task; and
resuming, under control of the task manager circuit, the performance of the first task by the processor at the first operation.