Another thought about that patch. Now that we keep track of the mm
associated to a context, I think we can simplify slightly the function
_cxl_slbia() in main.c, where we look for the mm based on the pid. We
now have the information readily available.
Fred
Le 14/03/2017 à 12:08, Christophe
Le 14/03/2017 à 12:08, 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
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