search for: __exit_as

Displaying 2 results from an estimated 2 matches for "__exit_as".

2007 Jun 26
2
RFC: multiple address spaces for one process
..., *active_mm; +#ifdef CONFIG_VMMHOST + /* array of N_MM pointers to struct mm_structs that can be switched between */ + struct mm_struct **mm_avail; +#endif /* task state */ struct linux_binfmt *binfmt; int exit_state; @@ -1712,6 +1716,19 @@ } #endif +#ifdef CONFIG_VMMHOST +extern void __exit_as(struct task_struct *); +static inline void exit_as(struct task_struct *tsk) { + if (tsk->mm_avail) + __exit_as(tsk); +} +extern struct mm_struct *dup_mm(struct task_struct *); +#else +static inline void exit_as(struct task_struct *tsk) +{ +} +#endif + #endif /* __KERNEL__ */ #endif Index: l...
2007 Jun 26
2
RFC: multiple address spaces for one process
..., *active_mm; +#ifdef CONFIG_VMMHOST + /* array of N_MM pointers to struct mm_structs that can be switched between */ + struct mm_struct **mm_avail; +#endif /* task state */ struct linux_binfmt *binfmt; int exit_state; @@ -1712,6 +1716,19 @@ } #endif +#ifdef CONFIG_VMMHOST +extern void __exit_as(struct task_struct *); +static inline void exit_as(struct task_struct *tsk) { + if (tsk->mm_avail) + __exit_as(tsk); +} +extern struct mm_struct *dup_mm(struct task_struct *); +#else +static inline void exit_as(struct task_struct *tsk) +{ +} +#endif + #endif /* __KERNEL__ */ #endif Index: l...