Changeset 5f0f29ce in mainline for kernel/generic/src/mm/slab.c


Ignore:
Timestamp:
2009-02-26T23:34:27Z (16 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e49e234
Parents:
6b1de7a
Message:

kernel memory management revisited (phase 1): proper support for zone flags

  • the zone_t structures are now statically allocated to be easily available
  • the locking scheme was simplified
  • new flags for non-available zones were introduced
  • FRAME_LOW_4_GiB flag is removed, the functionality will be eventually reimplemented using a generic mechanism
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/mm/slab.c

    r6b1de7a r5f0f29ce  
    174174        size_t fsize;
    175175        unsigned int i;
    176         unsigned int zone = 0;
     176        count_t zone = 0;
    177177       
    178178        data = frame_alloc_generic(cache->order, FRAME_KA | flags, &zone);
Note: See TracChangeset for help on using the changeset viewer.