cregit-Linux how code gets into the kernel

Release 4.7 arch/x86/include/asm/mmu.h

#ifndef _ASM_X86_MMU_H

#define _ASM_X86_MMU_H

#include <linux/spinlock.h>
#include <linux/mutex.h>

/*
 * The x86 doesn't have a mmu context, but
 * we put the segment information here.
 */
typedef struct {
#ifdef CONFIG_MODIFY_LDT_SYSCALL
	
struct ldt_struct *ldt;
#endif

#ifdef CONFIG_X86_64
	/* True if mm supports a task running in 32 bit compatibility mode. */
	
unsigned short ia32_compat;
#endif

	
struct mutex lock;
	
void __user *vdso;			/* vdso base address */
	
const struct vdso_image *vdso_image;	/* vdso image in use */

	
atomic_t perf_rdpmc_allowed;	/* nonzero if rdpmc is allowed */
} 
mm_context_t;

#ifdef CONFIG_SMP
void leave_mm(int cpu);
#else

static inline void leave_mm(int cpu) { }

Contributors

PersonTokensPropCommitsCommitProp
venkatesh pallipadivenkatesh pallipadi9100.00%1100.00%
Total9100.00%1100.00%

#endif #endif /* _ASM_X86_MMU_H */

Overall Contributors

PersonTokensPropCommitsCommitProp
venkatesh pallipadivenkatesh pallipadi2326.74%18.33%
andy lutomirskiandy lutomirski2023.26%541.67%
chris snookchris snook1517.44%18.33%
stephen wilsonstephen wilson1011.63%18.33%
richard kennedyrichard kennedy89.30%18.33%
thomas gleixnerthomas gleixner66.98%18.33%
h. peter anvinh. peter anvin33.49%18.33%
jan beulichjan beulich11.16%18.33%
Total86100.00%12100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
{% endraw %}