Linux Kernel
3.7.1
|
#include <linux/kernel.h>
#include <linux/preempt.h>
#include <linux/slab.h>
#include <asm/page.h>
#include <asm/tlbflush.h>
#include <asm/tlb.h>
#include <asm/mmu_context.h>
#include <asm/pgtable.h>
#include <asm/tsb.h>
#include <asm/oplib.h>
Go to the source code of this file.
Macros | |
#define | HV_PGSZ_IDX_BASE HV_PGSZ_IDX_8K |
#define | HV_PGSZ_MASK_BASE HV_PGSZ_MASK_8K |
Functions | |
void | flush_tsb_kernel_range (unsigned long start, unsigned long end) |
void | flush_tsb_user (struct tlb_batch *tb) |
void __init | pgtable_cache_init (void) |
void | tsb_grow (struct mm_struct *mm, unsigned long tsb_index, unsigned long rss) |
int | init_new_context (struct task_struct *tsk, struct mm_struct *mm) |
void | destroy_context (struct mm_struct *mm) |
Variables | |
struct tsb | swapper_tsb [KERNEL_TSB_NENTRIES] |
struct kmem_cache *pgtable_cache | __read_mostly |
int | sysctl_tsb_ratio = -2 |
#define HV_PGSZ_IDX_BASE HV_PGSZ_IDX_8K |
#define HV_PGSZ_MASK_BASE HV_PGSZ_MASK_8K |
int init_new_context | ( | struct task_struct * | tsk, |
struct mm_struct * | mm | ||
) |
struct kmem_cache* tsb_caches [8] __read_mostly |
struct tsb swapper_tsb[KERNEL_TSB_NENTRIES] |