[PATCH v3] ath11k: add processor_id based ring_selector logic

Kalle Valo kvalo at codeaurora.org
Mon Nov 23 13:06:15 EST 2020


P Praneesh <ppranees at codeaurora.org> wrote:

> Current ring selector logic follows round-robin scheduling,
> when a process switch from one processor to another each time,
> the data in the cache would have to be invalidated
> and re-loaded from RAM leads to poor cache utilization.
> 
> Therefore smp_processor_id() attempt to keep processes
> on the same processor via processor affinity which improves
> cache utilization. Also, ring selection could be chosen round
> robin when the processor_id based ring selection does not
> have the resources.
> 
> Tested-on : IPQ8074 hw2.0 AHB WLAN.HK.2.4.0.1-00874-QCAHKSWPL_SILICONZ-1
> 
> Signed-off-by: P Praneesh <ppranees at codeaurora.org>
> Signed-off-by: Kalle Valo <kvalo at codeaurora.org>

Patch applied to ath-next branch of ath.git, thanks.

0eaa4c1d34c5 ath11k: add processor_id based ring_selector logic

-- 
https://patchwork.kernel.org/project/linux-wireless/patch/1604914915-12831-1-git-send-email-ppranees@codeaurora.org/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches




More information about the ath11k mailing list