Changeset 164c653 in mainline for kernel/generic/src/mm/frame.c
- Timestamp:
- 2011-04-19T19:57:43Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 864b0dd
- Parents:
- 8f6c6264
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/mm/frame.c
r8f6c6264 r164c653 481 481 482 482 frame_t *frame = &zone->frames[frame_idx]; 483 size_t size = 1 << frame->buddy_order;483 size_t size = 0; 484 484 485 485 ASSERT(frame->refcount); 486 486 487 487 if (!--frame->refcount) { 488 buddy_system_free(zone->buddy_system, &frame->buddy_link);489 488 size = 1 << frame->buddy_order; 489 buddy_system_free(zone->buddy_system, &frame->buddy_link); 490 490 /* Update zone information. */ 491 491 zone->free_count += size;
Note:
See TracChangeset
for help on using the changeset viewer.