[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: |
Alex Bennée |
Subject: |
Re: [PATCH v2 1/4] linux-user: Always exit from exclusive state in fork_end() |
Date: |
Tue, 14 Feb 2023 09:26:35 +0000 |
User-agent: |
mu4e 1.9.20; emacs 29.0.60 |
Ilya Leoshkevich <iii@linux.ibm.com> writes:
> 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>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
--
Alex Bennée
Virtualisation Tech Lead @ Linaro