Anti-starvation interrupt protocol
Abstract
An anti-starvation interrupt protocol for use in avoiding livelock in a multiprocessor computer system is provided. At least one processor is configured to include first and second control status registers (CSRs). The first CSR buffers information, such as interrupts, received by the processor, while the second CSR keeps track of the priority level of the interrupts. When an interrupt controller receives an interrupt, it issues a write transaction to the first CSR at the processor. If the first CSR has room to accept the write transaction, the processor returns an acknowledgement, whereas if the first CSR is already full, the processor returns a no acknowledgment. In response to a no acknowledgment, the interrupt controller increments an interrupt starvation counter, and checks to see whether the counter exceeds a threshold. If not, the interrupt controller waits a preset time and reposts the write transaction. If it does, the interrupt controller issues a write transaction having a higher priority to the second CSR. In response, the processor copies all of the pending interrupts from the first CSR into the memory subsystem, thereby freeing up the first CSR to accept additional wri
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 25 · Forward citations: 25.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for avoiding starvation of interrupts of a computer system, the computer system having at least one processor for servicing the interrupts, a memory subsystem, one or more input/output (I/O) devices configured to issue interrupts and at least one interrupt controller, the method comprising the steps of: providing an interrupt queue register having a fixed number of entries for storing interrupts to be serviced by the at least one processor; posting interrupts generated by the one or more I/O devices to the interrupt queue register; determining whether the interrupt queue register is f
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 25 total)
References Cited — Backward Prior Art (25)
Non-Patent Literature (4)
- An Introduction to Interrupts, http://goforit.unk.edu/asm/ints_.htm, (co) 1988-2000, pp. 1-14.
- Hwa-Chun Lin, Ge-Ming Chiu, and C.S. Raghavendra, "Performance Study of Dynamic Load Balancing Policies for Distributed Systems with Service Interruptions", 1991, IEEE.
- Interfacing the PC, Quality Information in one Place . . . , http://www.beyondlogic.org/interrupts/interrupt.htm, pp. 1-18.
- James Peterson and Abraham Silberschatz, "Operating System Concepts", 1985, Addison Westley inc., vol. 2, pp. 120-122.