Invention Grant
- Patent Title: Memory cache pressure reduction for pointer rings
-
Application No.: US15984961Application Date: 2018-05-21
-
Publication No.: US10649686B2Publication Date: 2020-05-12
- Inventor: Michael Tsirkin
- Applicant: Red Hat, Inc.
- Applicant Address: US NC Raleigh
- Assignee: Red Hat, Inc.
- Current Assignee: Red Hat, Inc.
- Current Assignee Address: US NC Raleigh
- Agency: K&L Gates LLP
- Main IPC: G06F3/06
- IPC: G06F3/06 ; G06F12/0802

Abstract:
A system includes a memory with a ring buffer having a plurality of slots and a producer and consumer processor in communication with the memory. The producer processor is configured to receive a new memory entry and detect a failure to produce the new memory entry to a slot in the ring buffer. Each memory entry in the ring buffer has an entry structure to maintain a list of extra entries. The producer processor is also configured to determine a location of an entry pointer for a last produced memory entry in the ring and add the new entry to the list of extra entries in the respective slot in the ring. Responsive to consuming the last produced memory entry, the consumer processor is configured to check whether the last produced memory entry includes any other memory entries in the list of extra entries and consume the new memory entry.
Public/Granted literature
- US20190354310A1 MEMORY CACHE PRESSURE REDUCTION FOR POINTER RINGS Public/Granted day:2019-11-21
Information query