×

System and method for fast context switching between tasks

  • US 5,727,211 A
  • Filed: 11/09/1995
  • Issued: 03/10/1998
  • Est. Priority Date: 11/09/1995
  • Status: Expired due to Term
First Claim
Patent Images

1. A method of fast context switching on a data processing system including a processor, backing store, temporary storage, and a shared system resource, the processor being coupled to the backing store, the temporary storage, and the shared system resource, the method comprising the steps of:

  • executing a current task on the processor;

    utilizing a shared system resource for storing a designated component of information of the current task;

    maintaining a map data structure accessible by the processor and containing utilization data of the shared system resource of the current task;

    preparing to execute an incoming task on the processor;

    loading into temporary storage the shared system resource utilization of the current task;

    loading into temporary storage a projected shared system resource utilization of the incoming task;

    accessing the map data structure to determine available portions of the shared system resource;

    comparing the shared system resources of the current task and available portions of the shared system resource to projected utilization of the shared system resource of the incoming task; and

    swapping to the backing store only those portions of the shared system resource utilized by the current task necessary to accommodate projected shared system resource utilization of the incoming task.

View all claims
  • 5 Assignments
Timeline View
Assignment View
    ×
    ×