Changeset 181a746 in mainline for kernel/generic/src/proc/scheduler.c


Ignore:
Timestamp:
2012-07-10T17:50:29Z (12 years ago)
Author:
Adam Hraska <adam.hraska+hos@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5b6c033
Parents:
22b5924
Message:

rcu: Added preemptible RCU's core API implementation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/proc/scheduler.c

    r22b5924 r181a746  
    5353#include <synch/spinlock.h>
    5454#include <synch/workqueue.h>
     55#include <synch/rcu.h>
    5556#include <config.h>
    5657#include <context.h>
     
    8788{
    8889        before_thread_runs_arch();
     90        rcu_before_thread_runs();
    8991       
    9092#ifdef CONFIG_FPU_LAZY
     
    128130{
    129131        workq_after_thread_ran();
     132        rcu_after_thread_ran();
    130133        after_thread_ran_arch();
    131134}
     
    220223                goto loop;
    221224        }
     225
     226        ASSERT(!CPU->idle);
    222227       
    223228        unsigned int i;
     
    422427               
    423428                case Exiting:
     429                        rcu_thread_exiting();
    424430repeat:
    425431                        if (THREAD->detached) {
Note: See TracChangeset for help on using the changeset viewer.