Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
tlb-smp.c File Reference
#include <linux/interrupt.h>
#include <linux/spinlock.h>
#include <linux/init.h>
#include <linux/jiffies.h>
#include <linux/cpumask.h>
#include <linux/err.h>
#include <linux/kernel.h>
#include <linux/delay.h>
#include <linux/sched.h>
#include <linux/profile.h>
#include <linux/smp.h>
#include <asm/tlbflush.h>
#include <asm/bitops.h>
#include <asm/processor.h>
#include <asm/bug.h>
#include <asm/exceptions.h>
#include <asm/hardirq.h>
#include <asm/fpu.h>
#include <asm/mmu_context.h>
#include <asm/thread_info.h>
#include <asm/cpu-regs.h>
#include <asm/intctl-regs.h>

Go to the source code of this file.

Macros

#define FLUSH_ALL   0xffffffff
 

Functions

 DEFINE_PER_CPU_SHARED_ALIGNED (struct tlb_state, cpu_tlbstate)
 
void smp_flush_tlb (void *unused)
 
void flush_tlb_mm (struct mm_struct *mm)
 
void flush_tlb_current_task (void)
 
void flush_tlb_page (struct vm_area_struct *vma, unsigned long va)
 
void flush_tlb_all (void)
 

Macro Definition Documentation

#define FLUSH_ALL   0xffffffff

Definition at line 41 of file tlb-smp.c.

Function Documentation

DEFINE_PER_CPU_SHARED_ALIGNED ( struct tlb_state  ,
cpu_tlbstate   
)
void flush_tlb_all ( void  )

flush_tlb_all - Completely invalidate TLBs on all CPUs

Definition at line 210 of file tlb-smp.c.

void flush_tlb_current_task ( void  )

flush_tlb_current_task - Invalidate TLB of current task

Definition at line 161 of file tlb-smp.c.

void flush_tlb_mm ( struct mm_struct mm)

flush_tlb_mm - Invalidate TLB of specified VM context : The VM context to invalidate.

Definition at line 143 of file tlb-smp.c.

void flush_tlb_page ( struct vm_area_struct vma,
unsigned long  va 
)

flush_tlb_page - Invalidate TLB of page : The VM context to invalidate the page for. : The virtual address of the page to invalidate.

Definition at line 182 of file tlb-smp.c.

void smp_flush_tlb ( void unused)

smp_flush_tlb - Callback to invalidate the TLB. : Callback context (ignored).

Definition at line 60 of file tlb-smp.c.