diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2011-01-19 06:03:25 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-01-24 17:51:56 -0500 |
commit | c39649c331c70952700f99832b03f87e9d7f5b4b (patch) | |
tree | 19ba9cea5102595e42bcd043aa53eb666ea834fa /lib/Kconfig | |
parent | c2df88cbb43c25db27fbbf94e92318bdad018f3e (diff) |
lib: cpu_rmap: CPU affinity reverse-mapping
When initiating I/O on a multiqueue and multi-IRQ device, we may want
to select a queue for which the response will be handled on the same
or a nearby CPU. This requires a reverse-map of IRQ affinity. Add
library functions to support a generic reverse-mapping from CPUs to
objects with affinity and the specific case where the objects are
IRQs.
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/Kconfig')
-rw-r--r-- | lib/Kconfig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Kconfig b/lib/Kconfig index 0ee67e08ad3e..8334342e0d05 100644 --- a/lib/Kconfig +++ b/lib/Kconfig | |||
@@ -201,6 +201,10 @@ config DISABLE_OBSOLETE_CPUMASK_FUNCTIONS | |||
201 | bool "Disable obsolete cpumask functions" if DEBUG_PER_CPU_MAPS | 201 | bool "Disable obsolete cpumask functions" if DEBUG_PER_CPU_MAPS |
202 | depends on EXPERIMENTAL && BROKEN | 202 | depends on EXPERIMENTAL && BROKEN |
203 | 203 | ||
204 | config CPU_RMAP | ||
205 | bool | ||
206 | depends on SMP | ||
207 | |||
204 | # | 208 | # |
205 | # Netlink attribute parsing support is select'ed if needed | 209 | # Netlink attribute parsing support is select'ed if needed |
206 | # | 210 | # |