Re: [PATCH v2] arm64/sve: Fix wrong free for task->thread.sve_state

2019-09-30 Thread Dave Martin
On Mon, Sep 30, 2019 at 10:29:53AM -0400, Masayoshi Mizuma wrote: > Hi Julien and Dave, > > On Mon, Sep 30, 2019 at 02:02:46PM +0100, Dave Martin wrote: > > On Mon, Sep 30, 2019 at 01:23:18PM +0100, Julien Grall wrote: > > > Hi, > > > > > > On 27/09/2019 16:39, Masayoshi Mizuma wrote: > > > >From

Re: [PATCH v2] arm64/sve: Fix wrong free for task->thread.sve_state

2019-09-30 Thread Masayoshi Mizuma
Hi Julien and Dave, On Mon, Sep 30, 2019 at 02:02:46PM +0100, Dave Martin wrote: > On Mon, Sep 30, 2019 at 01:23:18PM +0100, Julien Grall wrote: > > Hi, > > > > On 27/09/2019 16:39, Masayoshi Mizuma wrote: > > >From: Masayoshi Mizuma > > > > > >The system which has SVE feature crashed because of

Re: [PATCH v2] arm64/sve: Fix wrong free for task->thread.sve_state

2019-09-30 Thread Dave Martin
On Mon, Sep 30, 2019 at 01:23:18PM +0100, Julien Grall wrote: > Hi, > > On 27/09/2019 16:39, Masayoshi Mizuma wrote: > >From: Masayoshi Mizuma > > > >The system which has SVE feature crashed because of > >the memory pointed by task->thread.sve_state was destroyed > >by someone. > > > >That is bec

Re: [PATCH v2] arm64/sve: Fix wrong free for task->thread.sve_state

2019-09-30 Thread Julien Grall
Hi, On 27/09/2019 16:39, Masayoshi Mizuma wrote: From: Masayoshi Mizuma The system which has SVE feature crashed because of the memory pointed by task->thread.sve_state was destroyed by someone. That is because sve_state is freed while the forking the child process. The child process has the

Re: [PATCH v2] arm64/sve: Fix wrong free for task->thread.sve_state

2019-09-27 Thread Julien Grall
Hi Dave, On 27/09/2019 17:15, Dave Martin wrote: > On Fri, Sep 27, 2019 at 11:39:49AM -0400, Masayoshi Mizuma wrote: >> From: Masayoshi Mizuma >> >> The system which has SVE feature crashed because of >> the memory pointed by task->thread.sve_state was destroyed >> by someone. >> >> That is becau

Re: [PATCH v2] arm64/sve: Fix wrong free for task->thread.sve_state

2019-09-27 Thread Dave Martin
On Fri, Sep 27, 2019 at 11:39:49AM -0400, Masayoshi Mizuma wrote: > From: Masayoshi Mizuma > > The system which has SVE feature crashed because of > the memory pointed by task->thread.sve_state was destroyed > by someone. > > That is because sve_state is freed while the forking the > child proce