# US 9,354,952 B2 · Application-driven shared device queue polling

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 9,354,952 B2
- Document ID: US9354952B2
- Status: Granted
- Kind: B2
- Application number: 14/568,476
- Filed: 2014-12-12
- Published: 2015-04-09
- Granted: 2016-05-31
- Earliest claimed: 2011-11-30
- Assignees: Red Hat Israel, Ltd.
- Applicants: Red Hat Israel, Ltd.
- Inventors: Michael Tsirkin
- Web page: https://patentgrep.com/patent/US9354952B2

## CPC

- G06F 9/546: {Message passing systems or structures, e.g. queues}
- G06F 9/544: {Buffers; Shared memory; Pipes}
- G06F 13/24: using interrupt (G06F13/32 takes precedence)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Methods and systems relate to receiving, at a system device, a first request from an operating system, the first request identifying shared queue and providing an instruction to the system device to enable polling of the identified shared queue, enabling, by a processing device, polling of the identified shared queue, wherein enabling polling comprises identifying a message in the identified shared queue and polling information related to the identified shared queue, and disabling, by the processing device, a device interrupt associated with the message in the identified shared queue.

## Claims

### Claim 1

A method comprising:
receiving, at a system device, a first request from an operating system, the first request identifying a shared queue and providing an instruction to the system device to enable polling of the identified shared queue;
enabling, by a processing device, polling of the identified shared queue, wherein enabling polling comprises identifying a message in the identified shared queue and polling information related to the identified shared queue; and
disabling, by the processing device, a device interrupt associated with the message in the identified shared queue.

### Claim 2 (depends on 1)

The method of claim 1, wherein the device interrupt is disabled in response to receiving the first request to enable polling of the identified shared queue.

### Claim 3 (depends on 1)

The method of claim 1, wherein the device interrupt is disabled in response to enabling polling of the identified shared queue.

### Claim 4 (depends on 1)

The method of claim 1, further comprising receiving a second request from the operating system, the second request comprising a second instruction to the system device to disable polling of the identified shared queue.

### Claim 5 (depends on 4)

The method of claim 4, further comprising:
re-enabling the device interrupt upon receiving the second request to disable polling of the identified shared queue.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
defining a threshold value associated with the identified shared queue; and
disabling polling of the identified shared queue in response to determining that the threshold value has been met or exceeded.

### Claim 7 (depends on 6)

The method of claim 6, wherein the threshold value represents at least one of a time period for polling the identified shared queue or a data allowance limit for polling the identified shared queue.

### Claim 8 (depends on 1)

The method of claim 1, wherein the first request comprises a threshold value associated with the identified shared queue.

### Claim 9

A non-transitory computer-readable storage medium comprising instructions that, when executed by a processing device, cause the processing device to:
receive, at a system device, a first request from an operating system, the first request identifying a shared queue and providing an instruction to the system device to enable polling of the identified shared queue;
enable, by the processing device, polling of the identified shared queue, wherein enabling polling comprises identifying a message in the identified shared queue and polling information related to the identified shared queue; and
disable, by the processing device, a device interrupt associated with the message in the identified shared queue.

### Claim 10 (depends on 9)

The non-transitory computer-readable storage medium of claim 9, wherein the device interrupt is disabled in response to receiving the first request to enable polling of the identified shared queue.

### Claim 11 (depends on 9)

The non-transitory computer-readable storage medium of claim 9, wherein the device interrupt is disabled in response to enabling polling of the identified shared queue.

### Claim 12 (depends on 9)

The non-transitory computer-readable storage medium of claim 9, wherein the processing device is further to receive a second request from the operating system, the second request comprising a second instruction to the system device to disable polling of the identified shared queue.

### Claim 13 (depends on 12)

The non-transitory computer-readable storage medium of claim 12, wherein the processing device is further to re-enable the device interrupt upon receiving the second request to disable polling of the identified shared queue.

### Claim 14 (depends on 9)

The non-transitory computer-readable storage medium of claim 9, wherein the processing device is further to:
define a threshold value associated with the identified shared queue; and
disable polling of the identified shared queue in response to determining that the threshold value has been met or exceeded.

### Claim 15 (depends on 14)

The non-transitory computer-readable storage medium of claim 14, wherein the threshold value represents at least one of a time period for polling the identified shared queue or a data allowance limit for polling the identified shared queue.

### Claim 16

A system comprising:
a memory;
a processing device, communicatively coupled to the memory, to:
receive, at a system device, a first request from an operating system, the first request identifying a shared queue and providing an instruction to the system device to enable polling of the identified shared queue;
enable polling of the identified shared queue, wherein enabling polling comprises identifying a message in the identified shared queue and polling information related to the identified shared queue; and
disable a device interrupt associated with the message in the identified shared queue.

### Claim 17 (depends on 16)

The system of claim 16, wherein the device interrupt is disabled in response to receiving the first request to enable polling of the identified shared queue.

### Claim 18 (depends on 16)

The system of claim 16, wherein the device interrupt is disabled in response to enabling polling of the identified shared queue.

### Claim 19 (depends on 16)

The system of claim 16, wherein the processing device is further to receive a second request from the operating system, the second request comprising a second instruction to the system device to disable polling of the identified shared queue.

### Claim 20 (depends on 19)

The system of claim 19, wherein the processing device is further to re-enable the device interrupt upon receiving the second request to disable polling of the identified shared queue.
