aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorP Praneesh <[email protected]>2020-11-09 15:11:55 +0530
committerKalle Valo <[email protected]>2020-11-23 20:03:39 +0200
commit0eaa4c1d34c5635e293b7068ae170152ce0d60ff (patch)
tree3ee5479ad97b38a6811edeb4585ee5a0137f6f62 /lib/mpi/mpiutil.c
parentc134d1f8c436d96b3f62896c630278e3ec001280 (diff)
ath11k: add processor_id based ring_selector logic
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 <[email protected]> Signed-off-by: Kalle Valo <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions