P Praneesh <ppranees@xxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxx> > Signed-off-by: Kalle Valo <kvalo@xxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxx/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches