al Message-
> >> From: Emily Deng [mailto:emily.d...@amd.com]
> >> Sent: Monday, May 21, 2018 4:09 PM
> >> To: amd-gfx@lists.freedesktop.org
> >> Cc: Deng, Emily <emily.d...@amd.com>
> >> Subject: [PATCH] drm/amdgpu: add rcu_barrier after entity f
md-gfx@lists.freedesktop.org
Cc: Deng, Emily <emily.d...@amd.com>
Subject: [PATCH] drm/amdgpu: add rcu_barrier after entity fini
To free the fence from the amdgpu_fence_slab, need twice call_rcu, to
avoid the amdgpu_fence_slab_fini call
kmem_cache_destroy(amdgpu_fence_slab) before
kme
Ping ..
> -Original Message-
> From: Emily Deng [mailto:emily.d...@amd.com]
> Sent: Monday, May 21, 2018 4:09 PM
> To: amd-gfx@lists.freedesktop.org
> Cc: Deng, Emily <emily.d...@amd.com>
> Subject: [PATCH] drm/amdgpu: add rcu_barrier after entity fini
>
To free the fence from the amdgpu_fence_slab, need twice call_rcu, to avoid
the amdgpu_fence_slab_fini call kmem_cache_destroy(amdgpu_fence_slab) before
kmem_cache_free(amdgpu_fence_slab, fence), add rcu_barrier after
drm_sched_entity_fini.
The kmem_cache_free(amdgpu_fence_slab, fence)'s call
Hi Christian,
Thanks for your advice, will send a modify patch later.
Best Wishes,
Emily Deng
From: Koenig, Christian
Sent: Friday, May 18, 2018 6:36 PM
To: Deng, Emily <emily.d...@amd.com>; amd-gfx@lists.freedesktop.org
Subject: Re: [PATCH] drm/amdgpu: add rcu_barrier after entity fi
gt;rcu, amdgpu_fence_free) ->
kmem_cache_free(amdgpu_fence_slab, fence);
> -Original Message-
> From: Koenig, Christian
> Sent: Friday, May 18, 2018 5:46 PM
> To: Deng, Emily <emily.d...@amd.com>; amd-gfx@lists.freedesktop.org
> Subject: Re: [PATCH] drm/amdgpu: add rcu_bar
> To: Deng, Emily <emily.d...@amd.com>; amd-gfx@lists.freedesktop.org
> Subject: Re: [PATCH] drm/amdgpu: add rcu_barrier after entity fini
>
> Ok, I'm lost where do we use call_rcu() twice? Cause that sounds incorrect in
> the first place.
>
> Christian.
>
> Am 18.05.2018
Of Deng, Emily
Sent: Friday, May 18, 2018 11:20 AM
To: Koenig, Christian <christian.koe...@amd.com>; amd-
g...@lists.freedesktop.org
Subject: RE: [PATCH] drm/amdgpu: add rcu_barrier after entity fini
Hi Christian,
Yes, it has already one rcu_barrier, but it has called twice call_rcu, so
t
esktop.org
> Subject: RE: [PATCH] drm/amdgpu: add rcu_barrier after entity fini
>
> Hi Christian,
> Yes, it has already one rcu_barrier, but it has called twice call_rcu,
> so the
> one rcu_barrier just could barrier one call_rcu some time.
> After I added another
; From: Christian König [mailto:ckoenig.leichtzumer...@gmail.com]
> Sent: Thursday, May 17, 2018 7:08 PM
> To: Deng, Emily <emily.d...@amd.com>; amd-gfx@lists.freedesktop.org
> Subject: Re: [PATCH] drm/amdgpu: add rcu_barrier after entity fini
>
> Am 17.05.2018 um 12:03 schrieb Emily
Am 17.05.2018 um 12:03 schrieb Emily Deng:
To free the fence from the amdgpu_fence_slab, need twice call_rcu, to avoid
the amdgpu_fence_slab_fini call kmem_cache_destroy(amdgpu_fence_slab) before
kmem_cache_free(amdgpu_fence_slab, fence), add rcu_barrier after
drm_sched_entity_fini.
The
To free the fence from the amdgpu_fence_slab, need twice call_rcu, to avoid
the amdgpu_fence_slab_fini call kmem_cache_destroy(amdgpu_fence_slab) before
kmem_cache_free(amdgpu_fence_slab, fence), add rcu_barrier after
drm_sched_entity_fini.
The kmem_cache_free(amdgpu_fence_slab, fence)'s call
2018 4:39 PM
> To: Deng, Emily <emily.d...@amd.com>; amd-gfx@lists.freedesktop.org
> Subject: Re: [PATCH] drm/amdgpu: add rcu_barrier after entity fini
>
> Am 17.05.2018 um 05:05 schrieb Emily Deng:
> > To free the fence from the amdgpu_fence_slab, need twice call_rcu, to
>
Am 17.05.2018 um 05:05 schrieb Emily Deng:
To free the fence from the amdgpu_fence_slab, need twice call_rcu, to avoid
the amdgpu_fence_slab_fini call kmem_cache_destroy(amdgpu_fence_slab) before
kmem_cache_free(amdgpu_fence_slab, fence), add rcu_barrier after
drm_sched_entity_fini.
The
On 2018-05-17 05:05 AM, Emily Deng wrote:
> To free the fence from the amdgpu_fence_slab, need twice call_rcu, to avoid
> the amdgpu_fence_slab_fini call kmem_cache_destroy(amdgpu_fence_slab) before
> kmem_cache_free(amdgpu_fence_slab, fence), add rcu_barrier after
> drm_sched_entity_fini.
>
>
ject: [PATCH] drm/amdgpu: add rcu_barrier after entity fini
To free the fence from the amdgpu_fence_slab, need twice call_rcu, to avoid the
amdgpu_fence_slab_fini call kmem_cache_destroy(amdgpu_fence_slab) before
kmem_cache_free(amdgpu_fence_slab, fence), add rcu_barrier after
drm_sched
To free the fence from the amdgpu_fence_slab, need twice call_rcu, to avoid
the amdgpu_fence_slab_fini call kmem_cache_destroy(amdgpu_fence_slab) before
kmem_cache_free(amdgpu_fence_slab, fence), add rcu_barrier after
drm_sched_entity_fini.
The kmem_cache_free(amdgpu_fence_slab, fence)'s call
17 matches
Mail list logo