Changeset 2ec725f in mainline for kernel/generic/include/mm/buddy.h


Ignore:
Timestamp:
2008-07-06T18:20:02Z (17 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5f7a0ef
Parents:
000350f8
Message:

Avoid deadlock during the 'zone n' kconsole command. Buddy allocator detail is
no longer printed because the effort to avoid the deadlock was simply not worth
it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/mm/buddy.h

    r000350f8 r2ec725f  
    6767        /** Find parent of block that has given order  */
    6868        link_t *(* find_block)(struct buddy_system *, link_t *, uint8_t);
    69         void (* print_id)(struct buddy_system *, link_t *);
    7069} buddy_system_operations_t;
    7170
     
    7978} buddy_system_t;
    8079
    81 extern void buddy_system_create(buddy_system_t *b, uint8_t max_order,
    82     buddy_system_operations_t *op, void *data);
    83 extern link_t *buddy_system_alloc(buddy_system_t *b, uint8_t i);
    84 extern bool buddy_system_can_alloc(buddy_system_t *b, uint8_t order);
    85 extern void buddy_system_free(buddy_system_t *b, link_t *block);
    86 extern void buddy_system_structure_print(buddy_system_t *b, size_t elem_size);
    87 extern size_t buddy_conf_size(int max_order);
    88 extern link_t *buddy_system_alloc_block(buddy_system_t *b, link_t *block);
     80extern void buddy_system_create(buddy_system_t *, uint8_t,
     81    buddy_system_operations_t *, void *);
     82extern link_t *buddy_system_alloc(buddy_system_t *, uint8_t);
     83extern bool buddy_system_can_alloc(buddy_system_t *, uint8_t);
     84extern void buddy_system_free(buddy_system_t *, link_t *);
     85extern size_t buddy_conf_size(int);
     86extern link_t *buddy_system_alloc_block(buddy_system_t *, link_t *);
    8987
    9088#endif
Note: See TracChangeset for help on using the changeset viewer.