Changeset 4841104 in mainline for include/mm/frame.h
- Timestamp:
- 2005-09-23T20:44:35Z (20 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- adecf496
- Parents:
- 23443b2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
include/mm/frame.h
r23443b2 r4841104 45 45 frame_t *frames; /**< array of frame_t structures in this zone */ 46 46 link_t free_head; /**< list of free frame_t structures */ 47 link_t busy_head; /**< list of busy frame_t structures */48 47 count_t free_count; /**< number of frame_t structures in free list */ 49 count_t busy_count; /**< number of frame_t structures in busylist */48 count_t busy_count; /**< number of frame_t structures not in free list */ 50 49 int flags; 51 50 }; 52 51 53 52 struct frame { 54 count_t refcount; /**< when > 0, the frame is in busy list, otherwisethe frame is in free list */55 link_t link; /**< link either to frame_zone free or busy list*/56 } ;53 count_t refcount; /**< when == 0, the frame is in free list */ 54 link_t link; /**< link to zone free list when refcount == 0 */ 55 } __attribute__ ((packed)); 57 56 58 57 extern spinlock_t zone_head_lock; /**< this lock protects zone_head list */
Note:
See TracChangeset
for help on using the changeset viewer.