Changeset 32ff43e6 in mainline for src/proc/scheduler.c


Ignore:
Timestamp:
2005-09-28T13:00:11Z (20 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2a9543d
Parents:
a58db280
Message:

Redeclare eraly_malloc() with attribute ((malloc)) to improve optimizations.

Reorganize #include's in scheduler.c.

Buddy system improvements.
Make buddy_system_free() explicitly invalidate order of blocks before they are coalesced.
Add some assertions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/proc/scheduler.c

    ra58db280 r32ff43e6  
    3030#include <proc/thread.h>
    3131#include <proc/task.h>
    32 #include <cpu.h>
     32#include <mm/heap.h>
     33#include <mm/frame.h>
     34#include <mm/page.h>
    3335#include <mm/vm.h>
     36#include <arch/asm.h>
     37#include <arch/faddr.h>
     38#include <arch/atomic.h>
     39#include <synch/spinlock.h>
    3440#include <config.h>
    3541#include <context.h>
    3642#include <func.h>
    3743#include <arch.h>
    38 #include <arch/asm.h>
    3944#include <list.h>
    4045#include <panic.h>
    4146#include <typedefs.h>
    42 #include <mm/page.h>
    43 #include <synch/spinlock.h>
    44 #include <arch/faddr.h>
    45 #include <arch/atomic.h>
     47#include <cpu.h>
    4648#include <print.h>
    47 #include <mm/frame.h>
    48 #include <mm/heap.h>
    4949#include <debug.h>
    5050
Note: See TracChangeset for help on using the changeset viewer.