On 8/7/21 11:42 AM, Warner Losh wrote:
From: Warner Losh<i...@freebsd.org>

Implement the internlock in fork_start() and fork_end() to properly cope
with atomic operations and to safely keep state for parent and child
processes.

Signed-off-by: Stacey Son<s...@freebsd.org>
Signed-off-by: Warner Losh<i...@bsdimp.com>
---
  bsd-user/main.c | 23 +++++++++++++++++++++++
  1 file changed, 23 insertions(+)

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>

r~

Reply via email to