Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
rcutiny.c File Reference
#include <linux/completion.h>
#include <linux/interrupt.h>
#include <linux/notifier.h>
#include <linux/rcupdate.h>
#include <linux/kernel.h>
#include <linux/export.h>
#include <linux/mutex.h>
#include <linux/sched.h>
#include <linux/types.h>
#include <linux/init.h>
#include <linux/time.h>
#include <linux/cpu.h>
#include <linux/prefetch.h>
#include "rcu.h"
#include "rcutiny_plugin.h"

Go to the source code of this file.

Functions

void rcu_idle_enter (void)
 
 EXPORT_SYMBOL_GPL (rcu_idle_enter)
 
void rcu_irq_exit (void)
 
 EXPORT_SYMBOL_GPL (rcu_irq_exit)
 
void rcu_idle_exit (void)
 
 EXPORT_SYMBOL_GPL (rcu_idle_exit)
 
void rcu_irq_enter (void)
 
 EXPORT_SYMBOL_GPL (rcu_irq_enter)
 
int rcu_is_cpu_rrupt_from_idle (void)
 
void rcu_sched_qs (int cpu)
 
void rcu_bh_qs (int cpu)
 
void rcu_check_callbacks (int cpu, int user)
 
void synchronize_sched (void)
 
 EXPORT_SYMBOL_GPL (synchronize_sched)
 
void call_rcu_sched (struct rcu_head *head, void(*func)(struct rcu_head *rcu))
 
 EXPORT_SYMBOL_GPL (call_rcu_sched)
 
void call_rcu_bh (struct rcu_head *head, void(*func)(struct rcu_head *rcu))
 
 EXPORT_SYMBOL_GPL (call_rcu_bh)
 

Function Documentation

void call_rcu_bh ( struct rcu_head head,
void(*)(struct rcu_head *rcu)  func 
)

Definition at line 378 of file rcutiny.c.

void call_rcu_sched ( struct rcu_head head,
void(*)(struct rcu_head *rcu)  func 
)

call_rcu_sched() - Queue an RCU for invocation after sched grace period. : structure to be used for queueing the RCU updates. : actual callback function to be invoked after the grace period

The callback function will be invoked some time after a full grace period elapses, in other words after all currently executing RCU read-side critical sections have completed. call_rcu_sched() assumes that the read-side critical sections end on enabling of preemption or on voluntary preemption. RCU read-side critical sections are delimited by :

  • rcu_read_lock_sched() and rcu_read_unlock_sched(), OR anything that disables preemption. These may be nested.

Definition at line 368 of file rcutiny.c.

EXPORT_SYMBOL_GPL ( rcu_idle_enter  )
EXPORT_SYMBOL_GPL ( rcu_irq_exit  )
EXPORT_SYMBOL_GPL ( rcu_idle_exit  )
EXPORT_SYMBOL_GPL ( rcu_irq_enter  )
EXPORT_SYMBOL_GPL ( synchronize_sched  )
EXPORT_SYMBOL_GPL ( call_rcu_sched  )
EXPORT_SYMBOL_GPL ( call_rcu_bh  )
void rcu_bh_qs ( int  cpu)

Definition at line 236 of file rcutiny.c.

void rcu_check_callbacks ( int  cpu,
int  user 
)

Definition at line 252 of file rcutiny.c.

void rcu_idle_enter ( void  )

Definition at line 87 of file rcutiny.c.

void rcu_idle_exit ( void  )

Definition at line 144 of file rcutiny.c.

void rcu_irq_enter ( void  )

Definition at line 164 of file rcutiny.c.

void rcu_irq_exit ( void  )

Definition at line 107 of file rcutiny.c.

int rcu_is_cpu_rrupt_from_idle ( void  )

Definition at line 196 of file rcutiny.c.

void rcu_sched_qs ( int  cpu)

Definition at line 222 of file rcutiny.c.

void synchronize_sched ( void  )

Definition at line 333 of file rcutiny.c.