发明名称 METHOD FOR ALLOCATING STORAGE SPACE USING BUDDY ALLOCATOR
摘要 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.
申请公布号 US2016275009(A1) 申请公布日期 2016.09.22
申请号 US201615073875 申请日期 2016.03.18
申请人 ELECTRONICS AND TELECOMMUNICATIONS RESEARCH INSTITUTE 发明人 KIM Chei Yol
分类号 G06F12/02 主分类号 G06F12/02
代理机构 代理人
主权项 1. 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 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 space corresponding to the block allocation request, wherein the excess storage space is not corresponding to the block allocation request.
地址 Daejeon KR