Re: [PATCH 4/4] tests/tcg/multiarch: add vma-pthread.c

2023-01-20 Thread Peter Maydell
On Fri, 13 Jan 2023 at 17:10, Alex Bennée wrote: > > > Peter Maydell writes: > > > On Sat, 24 Dec 2022 at 15:19, Richard Henderson > > wrote: > >> > >> From: Ilya Leoshkevich > >> > >> Add a test that locklessly changes and exercises page protection bits > >> from various threads. This helps ca

Re: [PATCH 4/4] tests/tcg/multiarch: add vma-pthread.c

2023-01-16 Thread Richard Henderson
On 1/16/23 06:27, Alex Bennée wrote: Although looking at the test I'm beginning to wonder what the sync point is between the mutator and the read/write threads? What do you mean? There is no explicit sync, because the mutator always leaves each page with the (one) permission that the read/wri

Re: [PATCH 4/4] tests/tcg/multiarch: add vma-pthread.c

2023-01-16 Thread Alex Bennée
Peter Maydell writes: > On Mon, 16 Jan 2023 at 16:33, Alex Bennée wrote: >> >> >> Peter Maydell writes: >> >> > On Mon, 16 Jan 2023 at 12:40, Philippe Mathieu-Daudé >> > wrote: >> >> >> >> On 13/1/23 18:10, Alex Bennée wrote: >> > Yep. Could somebody write a patch to disable this test while

Re: [PATCH 4/4] tests/tcg/multiarch: add vma-pthread.c

2023-01-16 Thread Peter Maydell
On Mon, 16 Jan 2023 at 16:33, Alex Bennée wrote: > > > Peter Maydell writes: > > > On Mon, 16 Jan 2023 at 12:40, Philippe Mathieu-Daudé > > wrote: > >> > >> On 13/1/23 18:10, Alex Bennée wrote: > > Yep. Could somebody write a patch to disable this test while > > we figure out why it's flaky, pl

Re: [PATCH 4/4] tests/tcg/multiarch: add vma-pthread.c

2023-01-16 Thread Alex Bennée
Peter Maydell writes: > On Mon, 16 Jan 2023 at 12:40, Philippe Mathieu-Daudé > wrote: >> >> On 13/1/23 18:10, Alex Bennée wrote: >> > >> > Peter Maydell writes: >> > >> >> On Sat, 24 Dec 2022 at 15:19, Richard Henderson >> >> wrote: >> >>> >> >>> From: Ilya Leoshkevich >> >>> >> >>> Add a

Re: [PATCH 4/4] tests/tcg/multiarch: add vma-pthread.c

2023-01-16 Thread Peter Maydell
On Mon, 16 Jan 2023 at 12:40, Philippe Mathieu-Daudé wrote: > > On 13/1/23 18:10, Alex Bennée wrote: > > > > Peter Maydell writes: > > > >> On Sat, 24 Dec 2022 at 15:19, Richard Henderson > >> wrote: > >>> > >>> From: Ilya Leoshkevich > >>> > >>> Add a test that locklessly changes and exercises

Re: [PATCH 4/4] tests/tcg/multiarch: add vma-pthread.c

2023-01-16 Thread Philippe Mathieu-Daudé
On 13/1/23 18:10, Alex Bennée wrote: Peter Maydell writes: On Sat, 24 Dec 2022 at 15:19, Richard Henderson wrote: From: Ilya Leoshkevich Add a test that locklessly changes and exercises page protection bits from various threads. This helps catch race conditions in the VMA handling. Sign

Re: [PATCH 4/4] tests/tcg/multiarch: add vma-pthread.c

2023-01-13 Thread Alex Bennée
Peter Maydell writes: > On Sat, 24 Dec 2022 at 15:19, Richard Henderson > wrote: >> >> From: Ilya Leoshkevich >> >> Add a test that locklessly changes and exercises page protection bits >> from various threads. This helps catch race conditions in the VMA >> handling. >> >> Signed-off-by: Ilya

Re: [PATCH 4/4] tests/tcg/multiarch: add vma-pthread.c

2023-01-13 Thread Peter Maydell
On Sat, 24 Dec 2022 at 15:19, Richard Henderson wrote: > > From: Ilya Leoshkevich > > Add a test that locklessly changes and exercises page protection bits > from various threads. This helps catch race conditions in the VMA > handling. > > Signed-off-by: Ilya Leoshkevich > Message-Id: <202212231

Re: [PATCH 4/4] tests/tcg/multiarch: add vma-pthread.c

2022-12-27 Thread Alex Bennée
Richard Henderson writes: > From: Ilya Leoshkevich > > Add a test that locklessly changes and exercises page protection bits > from various threads. This helps catch race conditions in the VMA > handling. > > Signed-off-by: Ilya Leoshkevich > Message-Id: <20221223120252.513319-1-...@linux.ibm

[PATCH 4/4] tests/tcg/multiarch: add vma-pthread.c

2022-12-24 Thread Richard Henderson
From: Ilya Leoshkevich Add a test that locklessly changes and exercises page protection bits from various threads. This helps catch race conditions in the VMA handling. Signed-off-by: Ilya Leoshkevich Message-Id: <20221223120252.513319-1-...@linux.ibm.com> Signed-off-by: Richard Henderson ---