search for: mm_avail

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

2007 Jun 26
2
RFC: multiple address spaces for one process
...d.h 2007-06-13 20:30:15.000000000 -0400 +++ linux-2.6/include/linux/sched.h 2007-06-25 16:14:35.000000000 -0400 @@ -864,6 +864,10 @@ struct mm_struct *mm, *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...
2007 Jun 26
2
RFC: multiple address spaces for one process
...d.h 2007-06-13 20:30:15.000000000 -0400 +++ linux-2.6/include/linux/sched.h 2007-06-25 16:14:35.000000000 -0400 @@ -864,6 +864,10 @@ struct mm_struct *mm, *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...