Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
smp.c File Reference
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/smp.h>
#include <linux/kernel_stat.h>
#include <linux/mm.h>
#include <linux/cache.h>
#include <linux/delay.h>
#include <linux/efi.h>
#include <linux/bitops.h>
#include <linux/kexec.h>
#include <linux/atomic.h>
#include <asm/current.h>
#include <asm/delay.h>
#include <asm/machvec.h>
#include <asm/io.h>
#include <asm/irq.h>
#include <asm/page.h>
#include <asm/pgalloc.h>
#include <asm/pgtable.h>
#include <asm/processor.h>
#include <asm/ptrace.h>
#include <asm/sal.h>
#include <asm/tlbflush.h>
#include <asm/unistd.h>
#include <asm/mca.h>

Go to the source code of this file.

Data Structures

struct  local_tlb_flush_counts
 

Macros

#define IPI_CALL_FUNC   0
 
#define IPI_CPU_STOP   1
 
#define IPI_CALL_FUNC_SINGLE   2
 
#define IPI_KDUMP_CPU_STOP   3
 
#define FLUSH_DELAY   5 /* Usec backoff to eliminate excessive cacheline bouncing */
 

Functions

void cpu_die (void)
 
irqreturn_t handle_IPI (int irq, void *dev_id)
 
void smp_send_reschedule (int cpu)
 
 EXPORT_SYMBOL_GPL (smp_send_reschedule)
 
void smp_local_flush_tlb (void)
 
void smp_flush_tlb_cpumask (cpumask_t xcpumask)
 
void smp_flush_tlb_all (void)
 
void smp_flush_tlb_mm (struct mm_struct *mm)
 
void arch_send_call_function_single_ipi (int cpu)
 
void arch_send_call_function_ipi_mask (const struct cpumask *mask)
 
void smp_send_stop (void)
 
int setup_profiling_timer (unsigned int multiplier)
 

Variables

unsigned int count
 

Macro Definition Documentation

#define FLUSH_DELAY   5 /* Usec backoff to eliminate excessive cacheline bouncing */

Definition at line 253 of file smp.c.

#define IPI_CALL_FUNC   0
#define IPI_CALL_FUNC_SINGLE   2
#define IPI_CPU_STOP   1
#define IPI_KDUMP_CPU_STOP   3

Function Documentation

void arch_send_call_function_ipi_mask ( const struct cpumask mask)

Definition at line 324 of file smp.c.

void arch_send_call_function_single_ipi ( int  cpu)

Definition at line 319 of file smp.c.

void cpu_die ( void  )

Definition at line 86 of file smp.c.

EXPORT_SYMBOL_GPL ( smp_send_reschedule  )
irqreturn_t handle_IPI ( int  irq,
void dev_id 
)

Definition at line 97 of file smp.c.

int setup_profiling_timer ( unsigned int  multiplier)

Definition at line 339 of file smp.c.

void smp_flush_tlb_all ( void  )

Definition at line 287 of file smp.c.

void smp_flush_tlb_cpumask ( cpumask_t  xcpumask)

Definition at line 256 of file smp.c.

void smp_flush_tlb_mm ( struct mm_struct mm)

Definition at line 293 of file smp.c.

void smp_local_flush_tlb ( void  )

Definition at line 240 of file smp.c.

void smp_send_reschedule ( int  cpu)

Definition at line 224 of file smp.c.

void smp_send_stop ( void  )

Definition at line 333 of file smp.c.

Variable Documentation

u8 count

Definition at line 76 of file smp.c.