qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 1/4] linux-user: Always exit from exclusive state in fork_


From: Richard Henderson
Subject: Re: [PATCH v2 1/4] linux-user: Always exit from exclusive state in fork_end()
Date: Mon, 13 Feb 2023 10:06:06 -1000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1

On 2/13/23 02:52, Ilya Leoshkevich wrote:
fork()ed processes currently start with
current_cpu->in_exclusive_context set, which is, strictly speaking, not
correct, but does not cause problems (even assertion failures).

With one of the next patches, the code begins to rely on this value, so
fix it by always calling end_exclusive() in fork_end().

Signed-off-by: Ilya Leoshkevich<iii@linux.ibm.com>
---
  linux-user/main.c    | 10 ++++++----
  linux-user/syscall.c |  1 +
  2 files changed, 7 insertions(+), 4 deletions(-)

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

r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]