发明授权
- 专利标题: Parallel dynamic memory allocation using a lock-free FIFO
- 专利标题(中): 使用无锁FIFO进行并行动态内存分配
-
申请号: US13361816申请日: 2012-01-30
-
公开(公告)号: US09542227B2公开(公告)日: 2017-01-10
- 发明人: Stephen Jones , Xiaohuang Huang
- 申请人: Stephen Jones , Xiaohuang Huang
- 申请人地址: US CA Santa Clara
- 专利权人: NVIDIA Corporation
- 当前专利权人: NVIDIA Corporation
- 当前专利权人地址: US CA Santa Clara
- 代理机构: Artegis Law Group, LLP
- 主分类号: G06F12/02
- IPC分类号: G06F12/02 ; G06F9/50 ; G06F9/52
摘要:
One embodiment of the present invention sets forth a technique for dynamically allocating memory using one or more lock-free FIFOs. One or more lock-free FIFOs are populated with FIFO nodes, where each FIFO node represents a memory allocation of a predetermined size. Each particular lock-free FIFO includes memory allocations of a single size. Different lock-free FIFOs may include memory allocations for different sizes to service allocation requests for different size memory allocations. A lock-free mechanism is used to pop FIFO nodes from the FIFO. The use of the lock-free FIFO allows multiple consumers to simultaneously attempt to pop the head FIFO node without first obtaining a lock to ensure exclusive access of the FIFO.
公开/授权文献
信息查询