Re: [PATCH for 6.2 48/49] bsd-user: Implement cpu_copy() helper routine

2021-08-10 Thread Richard Henderson
On 8/7/21 11:42 AM, Warner Losh wrote: From: Warner Losh cpu_copy shouldbe called when processes are creating new threads. It copies the current state of the CPU to a new cpu state needed for the new thread. Signed-off-by: Stacey Son Signed-off-by: Warner Losh Signed-off-by: Justin Hibbits ---

[PATCH for 6.2 48/49] bsd-user: Implement cpu_copy() helper routine

2021-08-07 Thread Warner Losh
From: Warner Losh cpu_copy shouldbe called when processes are creating new threads. It copies the current state of the CPU to a new cpu state needed for the new thread. Signed-off-by: Stacey Son Signed-off-by: Warner Losh Signed-off-by: Justin Hibbits --- bsd-user/main.c | 30 +++