Changeset 64f3d3b in mainline for kernel/generic/src/mm/frame.c


Ignore:
Timestamp:
2013-09-12T00:47:42Z (11 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3a0a4d8, 4a5f2b0
Parents:
33c058fe
Message:

basic optimizations of the bitmap allocator
(still not using the 2nd level bitmap)

File:
1 edited

Legend:

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

    r33c058fe r64f3d3b  
    6161#include <str.h>
    6262
    63 #define BITMAP_BLOCK_SIZE  1024
     63#define BITMAP_BLOCK_SIZE  128
    6464
    6565zones_t zones;
     
    352352       
    353353        if (!--frame->refcount) {
    354                 bitmap_free_range(&zone->bitmap, index, 1);
     354                bitmap_set(&zone->bitmap, index, 0);
    355355               
    356356                /* Update zone information. */
Note: See TracChangeset for help on using the changeset viewer.