Re: [PATCH] drm/amdkfd: Fixed kfd_process cleanup on module exit.

2023-03-08 Thread Felix Kuehling
program exits. Regards, Christian. Regards, David B. -Original Message- From: Koenig, Christian Sent: Tuesday, March 7, 2023 2:05 AM To: Belanger, David ; amd- g...@lists.freedesktop.org Subject: Re: [PATCH] drm/amdkfd: Fixed kfd_process cleanup on module exit. Am 06.03.23 um 22:

Re: [PATCH] drm/amdkfd: Fixed kfd_process cleanup on module exit.

2023-03-08 Thread Christian König
ssage- From: Koenig, Christian Sent: Tuesday, March 7, 2023 2:05 AM To: Belanger, David ; amd- g...@lists.freedesktop.org Subject: Re: [PATCH] drm/amdkfd: Fixed kfd_process cleanup on module exit. Am 06.03.23 um 22:58 schrieb David Belanger: Handle case when module is unloaded (kfd_exit) before

Re: [PATCH] drm/amdkfd: Fixed kfd_process cleanup on module exit.

2023-03-08 Thread Felix Kuehling
vid B. -Original Message- From: Koenig, Christian Sent: Tuesday, March 7, 2023 2:05 AM To: Belanger, David ; amd- g...@lists.freedesktop.org Subject: Re: [PATCH] drm/amdkfd: Fixed kfd_process cleanup on module exit. Am 06.03.23 um 22:58 schrieb David Belanger: Handle case when module is unl

RE: [PATCH] drm/amdkfd: Fixed kfd_process cleanup on module exit.

2023-03-08 Thread Belanger, David
[AMD Official Use Only - General] > -Original Message- > From: Christian König > Sent: Wednesday, March 8, 2023 4:08 AM > To: Belanger, David ; Koenig, Christian > ; amd-gfx@lists.freedesktop.org > Subject: Re: [PATCH] drm/amdkfd: Fixed kfd_process cleanu

Re: [PATCH] drm/amdkfd: Fixed kfd_process cleanup on module exit.

2023-03-08 Thread Christian König
, David ; amd- g...@lists.freedesktop.org Subject: Re: [PATCH] drm/amdkfd: Fixed kfd_process cleanup on module exit. Am 06.03.23 um 22:58 schrieb David Belanger: Handle case when module is unloaded (kfd_exit) before a process space (mm_struct) is released. Well that should never ever happen in the

RE: [PATCH] drm/amdkfd: Fixed kfd_process cleanup on module exit.

2023-03-07 Thread Belanger, David
To: amd-gfx@lists.freedesktop.org; Belanger, David > > Subject: Re: [PATCH] drm/amdkfd: Fixed kfd_process cleanup on module > exit. > > > Am 2023-03-06 um 16:58 schrieb David Belanger: > > Handle case when module is unloaded (kfd_exit) before a process space > > (mm_struct) is relea

RE: [PATCH] drm/amdkfd: Fixed kfd_process cleanup on module exit.

2023-03-07 Thread Belanger, David
Koenig, Christian > Sent: Tuesday, March 7, 2023 2:05 AM > To: Belanger, David ; amd- > g...@lists.freedesktop.org > Subject: Re: [PATCH] drm/amdkfd: Fixed kfd_process cleanup on module > exit. > > Am 06.03.23 um 22:58 schrieb David Belanger: > > Handle case when module is unl

Re: [PATCH] drm/amdkfd: Fixed kfd_process cleanup on module exit.

2023-03-06 Thread Christian König
Am 06.03.23 um 22:58 schrieb David Belanger: Handle case when module is unloaded (kfd_exit) before a process space (mm_struct) is released. Well that should never ever happen in the first place. It sounds like we are missing grabbing module references. Regards, Christian. Signed-off-by: D

Re: [PATCH] drm/amdkfd: Fixed kfd_process cleanup on module exit.

2023-03-06 Thread Felix Kuehling
Am 2023-03-06 um 16:58 schrieb David Belanger: Handle case when module is unloaded (kfd_exit) before a process space (mm_struct) is released. Signed-off-by: David Belanger --- drivers/gpu/drm/amd/amdkfd/kfd_module.c | 4 ++ drivers/gpu/drm/amd/amdkfd/kfd_process.c | 57 ++

[PATCH] drm/amdkfd: Fixed kfd_process cleanup on module exit.

2023-03-06 Thread David Belanger
Handle case when module is unloaded (kfd_exit) before a process space (mm_struct) is released. Signed-off-by: David Belanger --- drivers/gpu/drm/amd/amdkfd/kfd_module.c | 4 ++ drivers/gpu/drm/amd/amdkfd/kfd_process.c | 57 2 files changed, 61 insertions(+) diff --git