Changeset 3260ada in mainline for generic/src/cpu/cpu.c


Ignore:
Timestamp:
2006-02-04T21:08:45Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e72b0a3
Parents:
04225a7
Message:

Simplify load balancing activation.
This in fact removes the livelock that prevented cpu_sleep() to be called in SMP systems.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • generic/src/cpu/cpu.c

    r04225a7 r3260ada  
    6868                        spinlock_initialize(&cpus[i].lock, "cpu_t.lock");
    6969
    70                         #ifdef CONFIG_SMP
    71                         waitq_initialize(&cpus[i].kcpulb_wq);
    72                         #endif /* __SMP */
    73                        
    7470                        for (j = 0; j < RQ_COUNT; j++) {
    7571                                spinlock_initialize(&cpus[i].rq[j].lock, "rq_t.lock");
Note: See TracChangeset for help on using the changeset viewer.