Changeset 32ff43e6 in mainline for src/mm/buddy.c
- Timestamp:
- 2005-09-28T13:00:11Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2a9543d
- Parents:
- a58db280
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mm/buddy.c
ra58db280 r32ff43e6 49 49 int i; 50 50 51 ASSERT(max_order < BUDDY_SYSTEM_INNER_BLOCK); 52 51 53 ASSERT(op->find_buddy); 52 54 ASSERT(op->set_order); … … 167 169 168 170 if (buddy && i != b->max_order - 1) { 171 172 ASSERT(b->op->get_order(buddy) == i); 173 169 174 /* 170 175 * Remove buddy from the list of order i. … … 173 178 174 179 /* 180 * Invalidate order of both block and buddy. 181 */ 182 b->op->set_order(block, BUDDY_SYSTEM_INNER_BLOCK); 183 b->op->set_order(buddy, BUDDY_SYSTEM_INNER_BLOCK); 184 185 /* 175 186 * Coalesce block and buddy into one block. 176 187 */
Note:
See TracChangeset
for help on using the changeset viewer.