Changeset 4457455 in mainline for generic/include/mm/frame.h


Ignore:
Timestamp:
2005-12-05T17:02:40Z (20 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
61e6c39
Parents:
9ebc238
Message:

Buddy system cleanup and fixes.

  • missing use of KA2PA in frame_init
  • truncating black list addresses to frame boundaries
  • removal of left-over obsolete structures
  • fixing some comments
File:
1 edited

Legend:

Unmodified
Added
Removed
  • generic/include/mm/frame.h

    r9ebc238 r4457455  
    5555        __address base;         /**< physical address of the first frame in the frames array */
    5656        frame_t *frames;        /**< array of frame_t structures in this zone */
    57         link_t free_head;       /**< list of free frame_t structures */
    5857        count_t free_count;     /**< number of frame_t structures in free list */
    5958        count_t busy_count;     /**< number of frame_t structures not in free list */
     
    6463
    6564struct frame {
    66         count_t refcount;       /**< when == 0, the frame is in free list */
    67         link_t link;            /**< link to zone free list when refcount == 0 */
     65        count_t refcount;       /**< tracking of shared frames  */
    6866        __u8 buddy_order;       /**< buddy system block order */
    69         link_t buddy_link;      /**< link to the next free block inside one order*/
     67        link_t buddy_link;      /**< link to the next free block inside one order */
    7068};
    7169
Note: See TracChangeset for help on using the changeset viewer.