Invention Grant
- Patent Title: Dynamic type resolution for shared memory
-
Application No.: US17325539Application Date: 2021-05-20
-
Publication No.: US11748179B2Publication Date: 2023-09-05
- Inventor: Stuart Ritchie , Sebastian Sapa , Christopher Neilson , Eric Secules , Peter Edwards
- Applicant: Arista Networks, Inc.
- Applicant Address: US CA Santa Clara
- Assignee: ARISTA NETWORKS, INC.
- Current Assignee: ARISTA NETWORKS, INC.
- Current Assignee Address: US CA Santa Clara
- Agency: Fountainhead Law Group P.C.
- Main IPC: G06F9/54
- IPC: G06F9/54 ; G06F9/50 ; G06F13/16 ; G06F9/445

Abstract:
A method and apparatus of a network device that allocates a shared memory buffer for an object is described. In an exemplary embodiment, the network device receives an allocation request for the shared memory buffer for the object. In addition, the network device allocates the shared memory buffer from shared memory of a network device, where the shared memory buffer is accessible by a writer and a plurality of readers. The network device further returns a writer pointer to the writer, where the writer pointer references a base address of the shared memory buffer. Furthermore, the network device stores the object in the shared memory buffer, wherein the writer accesses the shared memory using the writer pointer. The network device further shares the writer pointer with at least a first reader of the plurality of readers. The network device additionally translates the base address of the shared memory buffer to a reader pointer, where the reader pointer is expressed in a memory space of the first reader.
Public/Granted literature
- US20210271535A1 SHARED MEMORY ALLOCATOR WITH CHILD PROCESS Public/Granted day:2021-09-02
Information query