Invention Grant
- Patent Title: Memory cache-line bounce reduction for pointer ring structures
-
Application No.: US16514463Application Date: 2019-07-17
-
Publication No.: US12079133B2Publication Date: 2024-09-03
- 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: Kilpatrick Townsend & Stockton LLP
- Main IPC: G06F12/08
- IPC: G06F12/08 ; G06F9/455 ; G06F9/50 ; G06F9/54 ; G06F12/0891

Abstract:
A system includes a memory including a ring buffer having a plurality of slots and at least one processor in communication with the memory. A subset of the plurality of slots are initialized with an initialization value. Additionally, the at least one processor includes a consumer processor and a producer processor. The producer processor is configured to receive a memory entry, identify an available slot in the ring buffer for the memory entry, and store the memory entry in the available slot at an offset in the ring buffer. The initialization value is interpreted as an unavailable slot by the producer processor. The consumer processor is configured to consume the memory entry and invalidate one of the subset of slots in the ring buffer by overwriting the initialization value with an invalid value to transition the one of the subset of slots from an unavailable slot to an available slot.
Public/Granted literature
- US20210019261A1 MEMORY CACHE-LINE BOUNCE REDUCTION FOR POINTER RING STRUCTURES Public/Granted day:2021-01-21
Information query