[PATCH] ath11k: fix workqueue not getting destroyed after rmmod
Kalle Valo
kvalo at kernel.org
Tue Jan 11 06:38:39 PST 2022
Aditya Kumar Singh <quic_adisi at quicinc.com> wrote:
> Currently, ath11k_core_alloc() creates a single thread workqueue.
> This workqueue is not detroyed during clean up when ath11k modules
> are unloaded from the kernel and is left as it is.
> If workqueue is not destroyed, it could lead to kernel
> memory scarcity in a longer run. This could affect self and
> other drivers workability as well.
>
> Add destroy workqueue in ath11k_core_free().
>
> Tested on: IPQ8074 WLAN.HK.2.4.0.1-01746-QCAHKSWPL_SILICONZ-1
>
> Signed-off-by: Aditya Kumar Singh <quic_adisi at quicinc.com>
> Signed-off-by: Kalle Valo <quic_kvalo at quicinc.com>
Patch applied to ath-next branch of ath.git, thanks.
9f4ecacf2fa4 ath11k: fix workqueue not getting destroyed after rmmod
--
https://patchwork.kernel.org/project/linux-wireless/patch/1640231787-17408-1-git-send-email-quic_adisi@quicinc.com/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
More information about the ath11k
mailing list