×

Preempting tasks at a preemption point of a kernel service routine based on current execution mode

  • US 9,424,105 B2
  • Filed: 12/03/2012
  • Issued: 08/23/2016
  • Est. Priority Date: 12/07/2011
  • Status: Expired due to Fees
First Claim
Patent Images

1. An apparatus for dynamically controlling a preemption section of a kernel, wherein the preemption section is a section of the kernel in which a process currently being executed may be preempted to enable another process to be executed, the apparatus comprising:

  • a processor;

    a preemption manager configured to;

    monitor whether a system context has changed; and

    upon determining that the system context has changed, set a current preemptive mode according to the changed system context to dynamically control the preemption section of the kernel, wherein the current preemptive mode determines whether the apparatus will prioritize processing efficiency or real-time processing; and

    a preemption point manager configured to determine, upon reaching a preemption point in execution of a kernel service routine of the kernel, whether to check whether a current thread needs to be rescheduled, based on the current preemptive mode; and

    upon determining that the current thread needs to be rescheduled, reschedule the current thread.

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