Method for allocating storage space using buddy allocator
Abstract
Provided herein a method for allocating storage space using a buddy allocator, the method including receiving, by a buddy allocator, a block allocation request from a space allocation requestor, selecting, by the buddy allocator, a first buddy in response to the block allocation request, wherein the first buddy is one of a plurality of buddies, checking, by the buddy allocator, whether blocks of the first buddy include a first spare storage space to which storage space corresponding to the block allocation request is allocated, allocating, by the buddy allocator, the storage space to the blocks of the first buddy when it is checked that the blocks of the first buddy include the first spare storage space, and deallocating, by the buddy allocator, excess storage space of allocated storage space when a size of the allocated storage space is greater than the storage corresponding to the block allocation request, wherein the excess storage space is not corresponding to the block allocation request.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 6 · Forward citations: 1.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for allocating storage space using a buddy allocator, the method comprising: receiving, by a buddy allocator, a block allocation request from a space allocation requestor; selecting, by the buddy allocator, a first buddy in response to the block allocation request, wherein the first buddy is one of a plurality of buddies; checking, by the buddy allocator, whether blocks of the first buddy include a first spare storage space to which storage space corresponding to the block allocation request is allocated; allocating, by the buddy allocator, the storage space to the blocks of the first
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (1 of 1 total)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 10,482,027 B2 | Cache management method and apparatus | 2019 | 1 |
References Cited — Backward Prior Art (6)
Non-Patent Literature (3)
- https://en.wikipedia.org/wiki/Buddy-memory-allocation, Author unknown, downloaded May 1, 2017, pp. 1-3.
- https://en.wikipedia.org/wiki/Buddy—memory—allocation, Author unknown, downloaded May 1, 2017, pp. 1-3.
- web.cs.ucdavis.edu/˜pandey/Teaching/ECS150/Lects/06memory.pdf, "Memory Management", Raju Pandey, Department of Computer Sciences, University of California, Davis, Spring 2011, pp. 24-29.