[PATCH V3 3/7] cxl: Keep track of mm struct associated with a context

2017-03-28 Thread Christophe Lombard
The mm_struct corresponding to the current task is acquired each time an interrupt is raised. So to simplify the code, we only get the mm_struct when attaching an AFU context to the process. The mm_count reference is increased to ensure that the mm_struct can't be freed. The mm_struct will be relea

Re: [PATCH V3 3/7] cxl: Keep track of mm struct associated with a context

2017-03-28 Thread Andrew Donnellan
On 29/03/17 02:14, Christophe Lombard wrote: The mm_struct corresponding to the current task is acquired each time an interrupt is raised. So to simplify the code, we only get the mm_struct when attaching an AFU context to the process. The mm_count reference is increased to ensure that the mm_str

Re: [PATCH V3 3/7] cxl: Keep track of mm struct associated with a context

2017-04-03 Thread Frederic Barrat
Le 28/03/2017 à 17:14, Christophe Lombard a écrit : The mm_struct corresponding to the current task is acquired each time an interrupt is raised. So to simplify the code, we only get the mm_struct when attaching an AFU context to the process. The mm_count reference is increased to ensure that t