From: Andrew Morton <akpm@linux-foundation.org>
To: Edward Liaw <edliaw@google.com>
Cc: linux-kselftest@vger.kernel.org, Shuah Khan <shuah@kernel.org>,
Peter Xu <peterx@redhat.com>,
linux-kernel@vger.kernel.org, kernel-team@android.com,
linux-mm@kvack.org
Subject: Re: [PATCH 0/3] selftests/mm: revert pthread_barrier change and
Date: Fri, 18 Oct 2024 14:13:23 -0700 [thread overview]
Message-ID: <20241018141323.e1c7e0a7312ffd7b92c8f4c5@linux-foundation.org> (raw)
In-Reply-To: <20241018171734.2315053-1-edliaw@google.com>
On Fri, 18 Oct 2024 17:17:21 +0000 Edward Liaw <edliaw@google.com> wrote:
> Subject: [PATCH 0/3] selftests/mm: revert pthread_barrier change and
I simply removed the " and".
> Date: Fri, 18 Oct 2024 17:17:21 +0000
> X-Mailer: git-send-email 2.47.0.105.g07ac214952-goog
>
> On Android arm, pthread_create followed by a fork caused a deadlock in
> the case where the fork required work to be completed by the created
> thread.
>
> The previous patches incorrectly assumed that the parent would
> always initialize the pthread_barrier for the child thread. This
> reverts the change and replaces the fix for wp-fork-with-event with the
> original use of atomic_bool.
>
> Edward Liaw (3):
> Revert "selftests/mm: fix deadlock for fork after pthread_create on
> ARM"
> Revert "selftests/mm: replace atomic_bool with pthread_barrier_t"
> selftests/mm: fix deadlock for fork after pthread_create with
> atomic_bool
I added cc:stable to the first two patches as the thing-being-reverted
was cc:stable.
prev parent reply other threads:[~2024-10-18 21:13 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-18 17:17 Edward Liaw
2024-10-18 17:17 ` [PATCH 1/3] Revert "selftests/mm: fix deadlock for fork after pthread_create on ARM" Edward Liaw
2024-10-18 17:17 ` [PATCH 2/3] Revert "selftests/mm: replace atomic_bool with pthread_barrier_t" Edward Liaw
2024-10-18 17:17 ` [PATCH 3/3] selftests/mm: fix deadlock for fork after pthread_create with atomic_bool Edward Liaw
2024-10-18 21:13 ` Andrew Morton [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20241018141323.e1c7e0a7312ffd7b92c8f4c5@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=edliaw@google.com \
--cc=kernel-team@android.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-kselftest@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=peterx@redhat.com \
--cc=shuah@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox