Changeset d3dfa42 in mainline for generic/src/mm/frame.c
- Timestamp:
- 2006-03-12T22:15:13Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9bda3af6
- Parents:
- 2cc5e050
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
generic/src/mm/frame.c
r2cc5e050 rd3dfa42 311 311 } 312 312 313 314 313 if (frame_index_valid(zone, index)) { 315 314 if (zone->frames[index].buddy_order == frame->buddy_order && … … 470 469 if (!--frame->refcount) { 471 470 buddy_system_free(zone->buddy_system, &frame->buddy_link); 472 }473 474 /* Update zone information. */475 zone->free_count += (1 << order);476 zone->busy_count -= (1 << order);471 472 /* Update zone information. */ 473 zone->free_count += (1 << order); 474 zone->busy_count -= (1 << order); 475 } 477 476 } 478 477 … … 601 600 } 602 601 } 603 604 602 605 603 /** Reduce allocated block to count of order 0 frames … … 709 707 } 710 708 711 712 709 /** 713 710 * Merge all zones into one big zone … … 773 770 } 774 771 775 776 772 /** Compute configuration data size for zone */ 777 773 __address zone_conf_size(count_t count) … … 784 780 return size; 785 781 } 786 787 782 788 783 /** Create and add zone to system
Note:
See TracChangeset
for help on using the changeset viewer.