Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
tick-sched.c File Reference
#include <linux/cpu.h>
#include <linux/err.h>
#include <linux/hrtimer.h>
#include <linux/interrupt.h>
#include <linux/kernel_stat.h>
#include <linux/percpu.h>
#include <linux/profile.h>
#include <linux/sched.h>
#include <linux/module.h>
#include <asm/irq_regs.h>
#include "tick-internal.h"

Go to the source code of this file.

Functions

struct tick_sched * tick_get_tick_sched (int cpu)
 
void tick_check_idle (int cpu)
 
void tick_clock_notify (void)
 
void tick_oneshot_notify (void)
 
int tick_check_oneshot_change (int allow_nohz)
 

Function Documentation

void tick_check_idle ( int  cpu)

Definition at line 785 of file tick-sched.c.

int tick_check_oneshot_change ( int  allow_nohz)

Check, if a change happened, which makes oneshot possible.

Called cyclic from the hrtimer softirq (driven by the timer softirq) allow_nohz signals, that we can switch into low-res nohz mode, because high resolution timers are disabled (either compile or runtime).

Definition at line 945 of file tick-sched.c.

void tick_clock_notify ( void  )

Async notification about clocksource changes

Definition at line 919 of file tick-sched.c.

struct tick_sched* tick_get_tick_sched ( int  cpu)
read

Definition at line 38 of file tick-sched.c.

void tick_oneshot_notify ( void  )

Definition at line 930 of file tick-sched.c.