From: Ben Hutchings Date: Wed, 19 Jan 2011 11:03:25 +0000 (+0000) Subject: lib: cpu_rmap: CPU affinity reverse-mapping X-Git-Tag: v2.6.39-rc1~468^2~482 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c39649c331c70952700f99832b03f87e9d7f5b4b;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed