]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: pcie: Set affinity mask for rx interrupt vectors per cpu
authorHaim Dreyfuss <haim.dreyfuss@intel.com>
Sun, 13 Mar 2016 15:51:59 +0000 (17:51 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 16 Sep 2016 06:10:27 +0000 (09:10 +0300)
commita4be98257059bda938703dddd99f0ed967d2e0cc
treea6c2aef0936c55ed51edbe3ce5de4cbaffcfe0aa
parent23289987596a8d469bdce223361e735d45e1bd6c
iwlwifi: pcie: Set affinity mask for rx interrupt vectors per cpu

In order to utilize the host's CPUs in the most efficient way
we bind each rx interrupt vector to each CPU on the host.
Each rx interrupt is prioritized to execute only on the designated CPU
rather than any CPU.
Processor affinity takes advantage of the fact that some remnants of
a process that was run on a given processor may remain in that
processor's memory state for example, data in the CPU cache after
another process is run on that CPU. Scheduling that process to execute
on the same processor could result in an efficient use of process by
reducing performance-degrading situations such as cache misses
and parallel processing.

Signed-off-by: Haim Dreyfuss <haim.dreyfuss@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/pcie/internal.h
drivers/net/wireless/intel/iwlwifi/pcie/trans.c