Invention Grant
US08526326B1 Lock-less access of pre-allocated memory buffers used by a network device
有权
由网络设备使用的预分配内存缓冲区的无锁访问
- Patent Title: Lock-less access of pre-allocated memory buffers used by a network device
- Patent Title (中): 由网络设备使用的预分配内存缓冲区的无锁访问
-
Application No.: US12199556Application Date: 2008-08-27
-
Publication No.: US08526326B1Publication Date: 2013-09-03
- Inventor: Monty S. Gill , Yi Sun
- Applicant: Monty S. Gill , Yi Sun
- Applicant Address: US CA Sunnyvale
- Assignee: Juniper Networks, Inc.
- Current Assignee: Juniper Networks, Inc.
- Current Assignee Address: US CA Sunnyvale
- Agency: Shumaker & Sieffert, P.A.
- Main IPC: H04L12/28
- IPC: H04L12/28

Abstract:
In general, the present disclosure describes techniques for both removing memory buffers from and adding memory buffers to a list (e.g., a linked list) of available buffers, for use by a network device, without locking the list during access. One example method includes allocating a list of memory buffers that are each available for use by multiple modules executed within the network device, wherein the list includes a first end and a second, opposite end, and removing a first memory buffer from the first end of the list by a first module of the multiple modules without locking the list. The method further includes adding the first memory buffer to the second end of the list by a second module of the multiple modules without locking the list.
Information query