July 12, 2020
4:24 p.m.
On Sun, Jul 12, 2020 at 7:00 AM CVS <cvs268@gmail.com> wrote:
are there platform specific functions that are called to detect change ? What is it that you wish to do with this?
I am doing porting work; I would like to be able to update mm_struct->context when a task migrates to another CPU. Another related question to this topic is: can the same mm_struct be used by two tasks running each on a different CPU ? if yes, I would probably need to make mm_struct->context an array so that it can hold information for each CPU.
- Are you thinking of modifying the thread migration logic before a thread is migrated? - Are you looking to trace such thread migrations across CPUs after they happen? - Something else?...
regards CVS