×

Interrupt management

  • US 9,948,533 B2
  • Filed: 12/20/2012
  • Issued: 04/17/2018
  • Est. Priority Date: 07/10/2006
  • Status: Active Grant
First Claim
Patent Images

1. A method for use in a data processing system connected to a network in accordance with a data transfer protocol, the data processing system having one or more event queues for holding notifications of network events, and being configured for responding to interrupts issued in response to the presence of a network event in the data processing system by invoking a stack to cause processing in accordance with the data transfer protocol of the network events, each network event associated with an event notification held on an event queue, the method comprising:

  • the data processing system deciding whether to permit the interrupts to be enabled, in dependence on the result of a determination as to the presence of current indications that the stack will be invoked by an application in the data processing system to cause processing in accordance with the data transfer protocol of network events, each network event associated with an event notification on an event queue, wherein;

    access to at least a part of the stack, by a thread of execution responsive to an application system call, is restricted by means of a lock, such that only one thread of execution may access the restricted part of the stack concurrently;

    said determination comprises checking the status of the lock to determine whether an application is currently accessing or attempting to access the restricted part of the stack; and

    whereinwhen said checking the status of the lock results in an indication that an application is currently accessing or attempting to access the restricted part of the stack, said deciding results in interrupts being disabled, andwhen said checking the status of the lock results in an indication that an application is not currently accessing or attempting to access the restricted part of the stack, said deciding results in interrupts being enabled.

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