Messages in this thread | | | Date | Thu, 21 Apr 2022 19:57:47 +0200 | From | Oleg Nesterov <> | Subject | Re: [PATCH v2 5/5] freezer,sched: Rewrite core freezer logic |
| |
On 04/21, Eric W. Biederman wrote: > > I would like to say that we can do without the wait_task_inactive, > but it looks like it is necessary to ensure that all of the userspace > registers are saved where the tracer can get at them.
Yes, for example, fpu regs.
But there are more problems. For example, if debugger changes TIF_BLOCKSTEP we need to ensure the child is already inactive and it will do another switch_to() after that.
Oleg.
| |