Re: [PATCH 11/14] bsd-user: Sync fork_start/fork_end with linux-user

2024-07-22 Thread Richard Henderson
On 7/23/24 07:43, Warner Losh wrote: -/* - * Child processes created by fork() only have a single thread. Discard - * information about the parent threads. - */ +/* Child processes created by fork() only have a single thread. + Discard informati

[PATCH 11/14] bsd-user: Sync fork_start/fork_end with linux-user

2024-07-22 Thread Warner Losh
From: Jessica Clarke This reorders some of the calls, deduplicates code between branches and, most importantly, fixes a double end_exclusive call in the parent that will cause exclusive_context_count to go negative. Signed-off-by: Jessica Clarke Pull-Request: https://github.com/qemu-bsd-user/qe