[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20181108220252.7g5jxzchbofov4ah@gmail.com>
Date: Thu, 8 Nov 2018 12:02:52 -1000
From: Joey Pabalinas <joeypabalinas@...il.com>
To: Sasha Levin <sashal@...nel.org>
Cc: stable@...r.kernel.org, linux-kernel@...r.kernel.org,
Breno Leitao <leitao@...ian.org>,
Michael Ellerman <mpe@...erman.id.au>,
Joey Pabalinas <joeypabalinas@...il.com>
Subject: Re: [PATCH AUTOSEL 4.14 27/30] powerpc/selftests: Wait all threads
to join
On Sun, Nov 04, 2018 at 08:53:22AM -0500, Sasha Levin wrote:
> From: Breno Leitao <leitao@...ian.org>
>
> [ Upstream commit 693b31b2fc1636f0aa7af53136d3b49f6ad9ff39 ]
>
> Test tm-tmspr might exit before all threads stop executing, because it just
> waits for the very last thread to join before proceeding/exiting.
>
> This patch makes sure that all threads that were created will join before
> proceeding/exiting.
>
> This patch also guarantees that the amount of threads being created is equal
> to thread_num.
>
> Signed-off-by: Breno Leitao <leitao@...ian.org>
> Signed-off-by: Michael Ellerman <mpe@...erman.id.au>
> Signed-off-by: Sasha Levin <sashal@...nel.org>
Acked-by: Joey Pabalinas <joeypabalinas@...il.com>
--
Cheers,
Joey Pabalinas
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists