© 1987 by British Computer Society
Buddy Algorithms
Department of Computer Science, University of Reading, Whiteknights, Reading RG6 2AH, UK
Algorithms are derived for allocating and deallocating blocks of memory using Binary Buddy, Weighted Buddy and Variant Weighted Buddy partitioning; and transformations are demonstrated for converting recursive into non-recursive forms. Algorithms are given for the relatively difficult computation of the addressed and size of a Buddy slot in the Weighted versions, and complexity and optimisation are also considered.
Received January 1986. revised May 1986.
* Department of Computer Science, University of Reading, Whiteknights, Reading RG6 2AH